Class ExternalItemGetter
java.lang.Object
com.ordwen.odailyquests.tools.externals.ExternalItemGetter
- All Implemented Interfaces:
IExternalItemGetter
- Direct Known Subclasses:
ItemGetter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCustomHead(String texture) Get a custom head by its texture.getItemsAdderItem(String namespace) Get an ItemsAdder item by its namespace.getMMOItemsItem(String namespace) Get an MMOItems item by its namespace.getNexoItem(String namespace) Get a Nexo item by its namespace.getOraxenItem(String namespace) Get an Oraxen item by its namespace.
-
Constructor Details
-
ExternalItemGetter
public ExternalItemGetter()
-
-
Method Details
-
getOraxenItem
Get an Oraxen item by its namespace.- Specified by:
getOraxenItemin interfaceIExternalItemGetter- Parameters:
namespace- the namespace of the item- Returns:
- the ItemStack or null if it does not exist
-
getNexoItem
Get a Nexo item by its namespace.- Specified by:
getNexoItemin interfaceIExternalItemGetter- Parameters:
namespace- the namespace of the item- Returns:
- the ItemStack or null if it does not exist
-
getItemsAdderItem
Get an ItemsAdder item by its namespace.- Specified by:
getItemsAdderItemin interfaceIExternalItemGetter- Parameters:
namespace- the namespace of the item- Returns:
- the ItemStack or null if it does not exist
-
getMMOItemsItem
Get an MMOItems item by its namespace.- Specified by:
getMMOItemsItemin interfaceIExternalItemGetter- Parameters:
namespace- the namespace of the item- Returns:
- the ItemStack or null if it does not exist
-
getCustomHead
Get a custom head by its texture.- Specified by:
getCustomHeadin interfaceIExternalItemGetter- Parameters:
texture- the texture of the head- Returns:
- the ItemStack textured or not
-