public static enum FoxEntity.Type extends java.lang.Enum<FoxEntity.Type>
Modifier and Type | Field and Description |
---|---|
private static FoxEntity.Type[] |
field_221088_c |
private int |
index |
private java.lang.String |
name |
private java.util.List<Biome> |
spawnBiomes |
private static java.util.Map<java.lang.String,FoxEntity.Type> |
TYPES_BY_NAME |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
java.lang.String |
getName() |
java.util.List<Biome> |
getSpawnBiomes() |
static FoxEntity.Type |
getTypeByBiome(Biome biomeIn) |
static FoxEntity.Type |
getTypeByIndex(int indexIn) |
static FoxEntity.Type |
getTypeByName(java.lang.String nameIn) |
static FoxEntity.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FoxEntity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FoxEntity.Type RED
public static final FoxEntity.Type SNOW
private static final FoxEntity.Type[] field_221088_c
private static final java.util.Map<java.lang.String,FoxEntity.Type> TYPES_BY_NAME
private final int index
private final java.lang.String name
private final java.util.List<Biome> spawnBiomes
public static FoxEntity.Type[] values()
for (FoxEntity.Type c : FoxEntity.Type.values()) System.out.println(c);
public static FoxEntity.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 java.lang.String getName()
public java.util.List<Biome> getSpawnBiomes()
public int getIndex()
public static FoxEntity.Type getTypeByName(java.lang.String nameIn)
public static FoxEntity.Type getTypeByIndex(int indexIn)
public static FoxEntity.Type getTypeByBiome(Biome biomeIn)