net.minecraft.entity
Enum EnumEntitySize
java.lang.Object
java.lang.Enum<EnumEntitySize>
net.minecraft.entity.EnumEntitySize
- All Implemented Interfaces:
- Serializable, Comparable<EnumEntitySize>
public enum EnumEntitySize
- extends Enum<EnumEntitySize>
SIZE_1
public static final EnumEntitySize SIZE_1
SIZE_2
public static final EnumEntitySize SIZE_2
SIZE_3
public static final EnumEntitySize SIZE_3
SIZE_4
public static final EnumEntitySize SIZE_4
SIZE_5
public static final EnumEntitySize SIZE_5
SIZE_6
public static final EnumEntitySize SIZE_6
values
public static EnumEntitySize[] 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 (EnumEntitySize c : EnumEntitySize.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EnumEntitySize valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
multiplyBy32AndRound
public int multiplyBy32AndRound(double par1)