public static enum TileEntityStructure.Mode extends java.lang.Enum<TileEntityStructure.Mode> implements IStringSerializable
| Modifier and Type | Method and Description | 
|---|---|
| static TileEntityStructure.Mode | getById(int id) | 
| int | getModeId() | 
| java.lang.String | getName() | 
| static TileEntityStructure.Mode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static TileEntityStructure.Mode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final TileEntityStructure.Mode SAVE
public static final TileEntityStructure.Mode LOAD
public static final TileEntityStructure.Mode CORNER
public static final TileEntityStructure.Mode DATA
public static TileEntityStructure.Mode[] values()
for (TileEntityStructure.Mode c : TileEntityStructure.Mode.values()) System.out.println(c);
public static TileEntityStructure.Mode 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()
getName in interface IStringSerializablepublic int getModeId()
public static TileEntityStructure.Mode getById(int id)