public static enum PandaEntity.Type extends java.lang.Enum<PandaEntity.Type>
Enum Constant and Description |
---|
AGGRESSIVE |
BROWN |
LAZY |
NORMAL |
PLAYFUL |
WEAK |
WORRIED |
Modifier and Type | Field and Description |
---|---|
private static PandaEntity.Type[] |
field_221109_h |
private boolean |
field_221112_k |
private int |
index |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static PandaEntity.Type |
byIndex(int indexIn) |
static PandaEntity.Type |
byName(java.lang.String p_221108_0_) |
private static PandaEntity.Type |
func_221101_b(PandaEntity.Type mainGene,
PandaEntity.Type hiddenGene) |
boolean |
func_221107_c() |
int |
getIndex() |
java.lang.String |
getName() |
static PandaEntity.Type |
getRandomType(java.util.Random randIn) |
static PandaEntity.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PandaEntity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PandaEntity.Type NORMAL
public static final PandaEntity.Type LAZY
public static final PandaEntity.Type WORRIED
public static final PandaEntity.Type PLAYFUL
public static final PandaEntity.Type BROWN
public static final PandaEntity.Type WEAK
public static final PandaEntity.Type AGGRESSIVE
private static final PandaEntity.Type[] field_221109_h
private final int index
private final java.lang.String name
private final boolean field_221112_k
public static PandaEntity.Type[] values()
for (PandaEntity.Type c : PandaEntity.Type.values()) System.out.println(c);
public static PandaEntity.Type 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 int getIndex()
public java.lang.String getName()
public boolean func_221107_c()
private static PandaEntity.Type func_221101_b(PandaEntity.Type mainGene, PandaEntity.Type hiddenGene)
public static PandaEntity.Type byIndex(int indexIn)
public static PandaEntity.Type byName(java.lang.String p_221108_0_)
public static PandaEntity.Type getRandomType(java.util.Random randIn)