public enum EnumRodType extends java.lang.Enum<EnumRodType>
Modifier and Type | Field and Description |
---|---|
TriggerLocation |
locationInLava |
TriggerLocation |
locationInWater |
int |
maxDamage |
int |
rarityThreshold |
java.lang.String |
textureName |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasRodType(java.lang.String name) |
static EnumRodType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumRodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumRodType OldRod
public static final EnumRodType GoodRod
public static final EnumRodType SuperRod
public static final EnumRodType OasRod
public java.lang.String textureName
public int rarityThreshold
public int maxDamage
public final TriggerLocation locationInWater
public final TriggerLocation locationInLava
public static EnumRodType[] values()
for (EnumRodType c : EnumRodType.values()) System.out.println(c);
public static EnumRodType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean hasRodType(java.lang.String name)