Class ExternalItemGetter

java.lang.Object
com.ordwen.odailyquests.tools.externals.ExternalItemGetter
All Implemented Interfaces:
IExternalItemGetter
Direct Known Subclasses:
ItemGetter

public abstract class ExternalItemGetter extends Object implements IExternalItemGetter
  • Constructor Details

    • ExternalItemGetter

      public ExternalItemGetter()
  • Method Details

    • getOraxenItem

      public Pair<String,org.bukkit.inventory.ItemStack> getOraxenItem(String namespace)
      Get an Oraxen item by its namespace.
      Specified by:
      getOraxenItem in interface IExternalItemGetter
      Parameters:
      namespace - the namespace of the item
      Returns:
      the ItemStack or null if it does not exist
    • getNexoItem

      public Pair<String,org.bukkit.inventory.ItemStack> getNexoItem(String namespace)
      Get a Nexo item by its namespace.
      Specified by:
      getNexoItem in interface IExternalItemGetter
      Parameters:
      namespace - the namespace of the item
      Returns:
      the ItemStack or null if it does not exist
    • getItemsAdderItem

      public Pair<String,org.bukkit.inventory.ItemStack> getItemsAdderItem(String namespace)
      Get an ItemsAdder item by its namespace.
      Specified by:
      getItemsAdderItem in interface IExternalItemGetter
      Parameters:
      namespace - the namespace of the item
      Returns:
      the ItemStack or null if it does not exist
    • getMMOItemsItem

      public Pair<String,org.bukkit.inventory.ItemStack> getMMOItemsItem(String namespace)
      Get an MMOItems item by its namespace.
      Specified by:
      getMMOItemsItem in interface IExternalItemGetter
      Parameters:
      namespace - the namespace of the item
      Returns:
      the ItemStack or null if it does not exist
    • getCustomHead

      public Pair<String,org.bukkit.inventory.ItemStack> getCustomHead(String texture)
      Get a custom head by its texture.
      Specified by:
      getCustomHead in interface IExternalItemGetter
      Parameters:
      texture - the texture of the head
      Returns:
      the ItemStack textured or not