public enum EnumFarmBlockType extends java.lang.Enum<EnumFarmBlockType> implements net.minecraft.util.IStringSerializable
| Enum Constant and Description |
|---|
BAND |
CONTROL |
GEARBOX |
HATCH |
PLAIN |
VALVE |
| Modifier and Type | Field and Description |
|---|---|
static EnumFarmBlockType[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
static net.minecraft.client.renderer.texture.TextureAtlasSprite |
getSprite(EnumFarmBlockType type,
int side) |
static void |
registerSprites() |
static EnumFarmBlockType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumFarmBlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFarmBlockType PLAIN
public static final EnumFarmBlockType BAND
public static final EnumFarmBlockType GEARBOX
public static final EnumFarmBlockType HATCH
public static final EnumFarmBlockType VALVE
public static final EnumFarmBlockType CONTROL
public static final EnumFarmBlockType[] VALUES
public static EnumFarmBlockType[] values()
for (EnumFarmBlockType c : EnumFarmBlockType.values()) System.out.println(c);
public static EnumFarmBlockType 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 void registerSprites()
public static net.minecraft.client.renderer.texture.TextureAtlasSprite getSprite(EnumFarmBlockType type, int side)
public java.lang.String getName()
getName in interface net.minecraft.util.IStringSerializable