Package dev.linwood.itemmods.api.item
Class CustomItemManager
- java.lang.Object
-
- dev.linwood.itemmods.api.item.CustomItemManager
-
public class CustomItemManager extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable CustomItem
create(@NotNull PackObject packObject)
CustomItem
fromItemStack(org.bukkit.inventory.ItemStack itemStack)
ItemAsset
getAssetByKey(java.lang.String key)
static CustomItemManager
getInstance()
-
-
-
Method Detail
-
getInstance
public static CustomItemManager getInstance()
-
getAssetByKey
public ItemAsset getAssetByKey(java.lang.String key) throws java.lang.UnsupportedOperationException
- Throws:
java.lang.UnsupportedOperationException
-
fromItemStack
public CustomItem fromItemStack(org.bukkit.inventory.ItemStack itemStack)
-
create
@Nullable public @Nullable CustomItem create(@NotNull @NotNull PackObject packObject)
-
-