Uses of Class
Item.Type

Uses of Item.Type in <Unnamed>
 

Fields in <Unnamed> declared as Item.Type
Modifier and Type Field and Description
 Item.Type Item.itemType
           
 

Methods in <Unnamed> that return Item.Type
Modifier and Type Method and Description
static Item.Type Item.Type.fromId(int id)
           
 Item.Type Item.getType()
          Returns this item type
static Item.Type Item.Type.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Item.Type[] Item.Type.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in <Unnamed> with parameters of type Item.Type
Modifier and Type Method and Description
 Item Inventory.getItemFromId(Item.Type type)
           
 Item ItemArray.getItemFromId(Item.Type type)
          Retrieves from the slot
 Item Inventory.getItemFromId(Item.Type type, int maxAmount)
           
 Item ItemArray.getItemFromId(Item.Type type, int maxAmount)
          Retrieves from the slot
 boolean Inventory.hasItem(Item.Type type)
           
 boolean ItemArray.hasItem(Item.Type type)
          Checks to see if this getArray() has one slot that has the given item type
 boolean Inventory.hasItem(Item.Type type, int minimum)
           
 boolean ItemArray.hasItem(Item.Type type, int minimum)
          Checks to see if this getArray() has one slot that has the item id and equal or more to the amount.
 void Inventory.removeItem(Item.Type type, int amount)
           
 void ItemArray.removeItem(Item.Type type, int amount)
          Removes the item.
 void Inventory.setSlot(Item.Type type, int amount, int slot)
           
 void ItemArray.setSlot(Item.Type type, int amount, int slot)
          Replaces the slot with the specified item.
 void Item.setType(Item.Type itemType)
          Set the item type
 

Constructors in <Unnamed> with parameters of type Item.Type
Constructor and Description
Item(Item.Type itemType)
          Create a new item.
Item(Item.Type itemType, int amount)