com.amoebaman.kitmaster.handlers
Enum InventoryUtil.Armor.ArmorLevel

java.lang.Object
  extended by java.lang.Enum<InventoryUtil.Armor.ArmorLevel>
      extended by com.amoebaman.kitmaster.handlers.InventoryUtil.Armor.ArmorLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InventoryUtil.Armor.ArmorLevel>
Enclosing class:
InventoryUtil.Armor

public static enum InventoryUtil.Armor.ArmorLevel
extends java.lang.Enum<InventoryUtil.Armor.ArmorLevel>

The levels of armor. Higher ordinals correspond to more powerful armor.


Enum Constant Summary
CHAIN
          Chainmail armor
DIAMOND
          Diamond armor
GOLD
          Golden (butter_ armor
IRON
          Iron armor
LEATHER
          Leather armor
MOB_HEAD
          Mob heads, not yet implemented
 
Method Summary
static InventoryUtil.Armor.ArmorLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InventoryUtil.Armor.ArmorLevel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MOB_HEAD

public static final InventoryUtil.Armor.ArmorLevel MOB_HEAD
Mob heads, not yet implemented


LEATHER

public static final InventoryUtil.Armor.ArmorLevel LEATHER
Leather armor


GOLD

public static final InventoryUtil.Armor.ArmorLevel GOLD
Golden (butter_ armor


CHAIN

public static final InventoryUtil.Armor.ArmorLevel CHAIN
Chainmail armor


IRON

public static final InventoryUtil.Armor.ArmorLevel IRON
Iron armor


DIAMOND

public static final InventoryUtil.Armor.ArmorLevel DIAMOND
Diamond armor

Method Detail

values

public static InventoryUtil.Armor.ArmorLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (InventoryUtil.Armor.ArmorLevel c : InventoryUtil.Armor.ArmorLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static InventoryUtil.Armor.ArmorLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null