public enum EnumGrowth extends java.lang.Enum<EnumGrowth> implements ITranslatable
Enum Constant and Description |
---|
Enormous |
Giant |
Ginormous |
Huge |
Microscopic |
Ordinary |
Pygmy |
Runt |
Small |
Modifier and Type | Field and Description |
---|---|
int |
index |
static java.util.List<EnumGrowth> |
orderedList |
int |
rarity |
int |
scaleOrdinal |
float |
scaleValue |
Modifier and Type | Method and Description |
---|---|
static EnumGrowth |
getFromNBT(net.minecraft.nbt.CompoundNBT compound) |
static EnumGrowth |
getGrowthFromIndex(int index) |
static EnumGrowth |
getGrowthFromScaleOrdinal(java.lang.Integer scaleOrdinal) |
static EnumGrowth |
getGrowthFromString(java.lang.String name) |
static EnumGrowth |
getNextGrowth(EnumGrowth g) |
static EnumGrowth |
getNextGrowthRestricted(EnumGrowth g) |
static EnumGrowth |
getRandomGrowth() |
java.lang.String |
getTranslationKey() |
static boolean |
hasGrowth(java.lang.String name) |
static EnumGrowth |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumGrowth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getLocalizedName, getTranslatedName
public static final EnumGrowth Pygmy
public static final EnumGrowth Runt
public static final EnumGrowth Small
public static final EnumGrowth Ordinary
public static final EnumGrowth Huge
public static final EnumGrowth Giant
public static final EnumGrowth Enormous
public static final EnumGrowth Ginormous
public static final EnumGrowth Microscopic
public float scaleValue
public int rarity
public int index
public int scaleOrdinal
public static java.util.List<EnumGrowth> orderedList
public static EnumGrowth[] values()
for (EnumGrowth c : EnumGrowth.values()) System.out.println(c);
public static EnumGrowth 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 EnumGrowth getRandomGrowth()
public static EnumGrowth getGrowthFromIndex(int index)
public static EnumGrowth getNextGrowthRestricted(EnumGrowth g)
public static EnumGrowth getFromNBT(net.minecraft.nbt.CompoundNBT compound)
public static EnumGrowth getNextGrowth(EnumGrowth g)
public static boolean hasGrowth(java.lang.String name)
public static EnumGrowth getGrowthFromString(java.lang.String name)
public static EnumGrowth getGrowthFromScaleOrdinal(java.lang.Integer scaleOrdinal)
public java.lang.String getTranslationKey()
getTranslationKey
in interface ITranslatable