public static enum BlockLog.EnumAxis extends java.lang.Enum<BlockLog.EnumAxis> implements IStringSerializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static BlockLog.EnumAxis |
fromFacingAxis(EnumFacing.Axis axis) |
java.lang.String |
getName() |
java.lang.String |
toString() |
static BlockLog.EnumAxis |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockLog.EnumAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockLog.EnumAxis X
public static final BlockLog.EnumAxis Y
public static final BlockLog.EnumAxis Z
public static final BlockLog.EnumAxis NONE
public static BlockLog.EnumAxis[] values()
for (BlockLog.EnumAxis c : BlockLog.EnumAxis.values()) System.out.println(c);
public static BlockLog.EnumAxis 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 toString()
toString
in class java.lang.Enum<BlockLog.EnumAxis>
public static BlockLog.EnumAxis fromFacingAxis(EnumFacing.Axis axis)
public java.lang.String getName()
getName
in interface IStringSerializable