Package dev.linwood.itemmods.pack.custom
Class CustomTemplate
- java.lang.Object
-
- dev.linwood.itemmods.pack.DefinedNamedPackObject
-
- dev.linwood.itemmods.pack.asset.PackAsset
-
- dev.linwood.itemmods.pack.custom.CustomTemplate
-
- Direct Known Subclasses:
BlockSetTemplate
public abstract class CustomTemplate extends PackAsset
-
-
Field Summary
-
Fields inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
GSON, name
-
-
Constructor Summary
Constructors Constructor Description CustomTemplate(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description @Nullable CommandAction
generateItemAction(PackObject packObject, CustomData data, CustomPackAsset asset)
abstract @NotNull org.bukkit.inventory.ItemStack
getItemIcon(PackObject packObject, CustomData data, CustomPackAsset asset)
abstract @NotNull org.bukkit.inventory.ItemStack
getPreviewIcon()
boolean
isCompatible(PackObject packObject, CustomPackAsset asset)
-
Methods inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
getName, setName
-
-
-
-
Constructor Detail
-
CustomTemplate
public CustomTemplate(String name)
-
-
Method Detail
-
generateItemAction
@Nullable public @Nullable CommandAction generateItemAction(PackObject packObject, CustomData data, CustomPackAsset asset)
-
isCompatible
public boolean isCompatible(PackObject packObject, CustomPackAsset asset)
-
getPreviewIcon
@NotNull public abstract @NotNull org.bukkit.inventory.ItemStack getPreviewIcon()
-
getItemIcon
@NotNull public abstract @NotNull org.bukkit.inventory.ItemStack getItemIcon(PackObject packObject, CustomData data, CustomPackAsset asset)
-
-