Package dev.linwood.itemmods.api.item
Class CustomItem
- java.lang.Object
-
- dev.linwood.itemmods.api.item.CustomItem
-
- All Implemented Interfaces:
CustomElement<ItemAsset>
public class CustomItem extends java.lang.Object implements CustomElement<ItemAsset>
-
-
Constructor Summary
Constructors Constructor Description CustomItem(@NotNull org.bukkit.inventory.ItemStack itemStack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure()@Nullable ItemAssetgetConfig()@NotNull java.lang.StringgetData()@NotNull org.bukkit.inventory.ItemStackgetItemStack()@Nullable PackObjectgetPackObject()voidsetData(@NotNull java.lang.String data)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface dev.linwood.itemmods.api.CustomElement
isCustom
-
-
-
-
Method Detail
-
getConfig
@Nullable public @Nullable ItemAsset getConfig()
- Specified by:
getConfigin interfaceCustomElement<ItemAsset>
-
configure
public void configure()
- Specified by:
configurein interfaceCustomElement<ItemAsset>
-
getData
@NotNull public @NotNull java.lang.String getData()
- Specified by:
getDatain interfaceCustomElement<ItemAsset>
-
setData
public void setData(@NotNull @NotNull java.lang.String data)- Specified by:
setDatain interfaceCustomElement<ItemAsset>
-
getPackObject
@Nullable public @Nullable PackObject getPackObject()
- Specified by:
getPackObjectin interfaceCustomElement<ItemAsset>
-
getItemStack
@NotNull public @NotNull org.bukkit.inventory.ItemStack getItemStack()
-
-