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

public class ItemGetter extends ExternalItemGetter implements IItemGetter
  • 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 interface IItemGetter
      Parameters:
      material - the material of the item
      customModelData - the custom model data of the item
      Returns:
      the ItemStack with the custom model data