Class BlockSetTemplate
- java.lang.Object
-
- dev.linwood.itemmods.pack.DefinedNamedPackObject
-
- dev.linwood.itemmods.pack.asset.PackAsset
-
- dev.linwood.itemmods.pack.custom.CustomTemplate
-
- dev.linwood.itemmods.addon.templates.item.BlockSetTemplate
-
public class BlockSetTemplate extends CustomTemplate
- Author:
- CodeDoctorDE
-
-
Field Summary
-
Fields inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
GSON, name
-
-
Constructor Summary
Constructors Constructor Description BlockSetTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable CommandAction
generateItemAction(PackObject packObject, CustomData data, CustomPackAsset asset)
@Nullable PackObject
getBlock(CustomData data)
@NotNull org.bukkit.inventory.ItemStack
getItemIcon(PackObject packObject, CustomData data, CustomPackAsset asset)
@NotNull org.bukkit.inventory.ItemStack
getPreviewIcon()
boolean
isCompatible(PackObject packObject, CustomPackAsset asset)
void
setBlock(CustomData data, @Nullable PackObject packObject)
-
Methods inherited from class dev.linwood.itemmods.pack.DefinedNamedPackObject
getName, setName
-
-
-
-
Method Detail
-
getItemIcon
@NotNull public @NotNull org.bukkit.inventory.ItemStack getItemIcon(PackObject packObject, CustomData data, CustomPackAsset asset)
- Specified by:
getItemIcon
in classCustomTemplate
-
getPreviewIcon
@NotNull public @NotNull org.bukkit.inventory.ItemStack getPreviewIcon()
- Specified by:
getPreviewIcon
in classCustomTemplate
-
isCompatible
public boolean isCompatible(PackObject packObject, CustomPackAsset asset)
- Overrides:
isCompatible
in classCustomTemplate
-
generateItemAction
@Nullable public @Nullable CommandAction generateItemAction(PackObject packObject, CustomData data, CustomPackAsset asset)
- Overrides:
generateItemAction
in classCustomTemplate
-
getBlock
@Nullable public @Nullable PackObject getBlock(CustomData data)
-
setBlock
public void setBlock(CustomData data, @Nullable @Nullable PackObject packObject)
-
-