Package dev.linwood.itemmods.pack.asset
Class ItemAsset
- java.lang.Object
-
public class ItemAsset extends CustomPackAsset
-
-
Field Summary
-
Fields inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
GSON, name
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull org.bukkit.Material
getIcon()
@NotNull java.util.List<java.lang.String>
getLore()
@Nullable ModelAsset
getModel()
@Nullable PackObject
getModelObject()
com.google.gson.JsonObject
save(java.lang.String namespace)
void
setLore(java.util.List<java.lang.String> lore)
void
setModelObject(@Nullable PackObject modelObject)
-
Methods inherited from class dev.linwood.itemmods.pack.asset.CustomPackAsset
getTemplates, registerTemplate, registerTemplate, unregisterTemplate, unregisterTemplate
-
Methods inherited from class dev.linwood.itemmods.pack.asset.CustomNamedAsset
getDisplayName, removeDisplayName, setDisplayName
-
Methods inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
getName, setName
-
-
-
-
Method Detail
-
getLore
@NotNull public @NotNull java.util.List<java.lang.String> getLore()
-
setLore
public void setLore(java.util.List<java.lang.String> lore)
-
getModelObject
@Nullable public @Nullable PackObject getModelObject()
-
setModelObject
public void setModelObject(@Nullable @Nullable PackObject modelObject)
-
getModel
@Nullable public @Nullable ModelAsset getModel()
-
getIcon
@NotNull public @NotNull org.bukkit.Material getIcon()
-
save
public com.google.gson.JsonObject save(java.lang.String namespace)
- Overrides:
save
in classCustomPackAsset
-
-