Class ItemGetter
java.lang.Object
com.ordwen.odailyquests.tools.externals.ExternalItemGetter
com.ordwen.odailyquests.commands.interfaces.playerinterface.items.getters.ItemGetter
- All Implemented Interfaces:
IItemGetter
,IExternalItemGetter
- Direct Known Subclasses:
InterfaceItemGetter
,QuestItemGetter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCustomModelDataItem
(org.bukkit.Material material, int customModelData) Add custom model data to an item.Methods inherited from class com.ordwen.odailyquests.tools.externals.ExternalItemGetter
getCustomHead, getItemsAdderItem, getMMOItemsItem, getNexoItem, getOraxenItem
-
Constructor Details
-
ItemGetter
public ItemGetter()
-
-
Method Details
-
getCustomModelDataItem
public Pair<String,org.bukkit.inventory.ItemStack> getCustomModelDataItem(org.bukkit.Material material, int customModelData) Add custom model data to an item.- Specified by:
getCustomModelDataItem
in interfaceIItemGetter
- Parameters:
material
- the material of the itemcustomModelData
- the custom model data of the item- Returns:
- the ItemStack with the custom model data
-