Enum ModelBlockAnimation.Parameter.Variable
- java.lang.Object
-
- java.lang.Enum<ModelBlockAnimation.Parameter.Variable>
-
- net.minecraftforge.client.model.animation.ModelBlockAnimation.Parameter.Variable
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ModelBlockAnimation.Parameter.Variable>
- Enclosing class:
- ModelBlockAnimation.Parameter
public static enum ModelBlockAnimation.Parameter.Variable extends java.lang.Enum<ModelBlockAnimation.Parameter.Variable>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Variable()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelBlockAnimation.Parameter.Variable
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ModelBlockAnimation.Parameter.Variable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X
@SerializedName("offset_x") public static final ModelBlockAnimation.Parameter.Variable X
-
Y
@SerializedName("offset_y") public static final ModelBlockAnimation.Parameter.Variable Y
-
Z
@SerializedName("offset_z") public static final ModelBlockAnimation.Parameter.Variable Z
-
XROT
@SerializedName("axis_x") public static final ModelBlockAnimation.Parameter.Variable XROT
-
YROT
@SerializedName("axis_y") public static final ModelBlockAnimation.Parameter.Variable YROT
-
ZROT
@SerializedName("axis_z") public static final ModelBlockAnimation.Parameter.Variable ZROT
-
ANGLE
@SerializedName("angle") public static final ModelBlockAnimation.Parameter.Variable ANGLE
-
SCALE
@SerializedName("scale") public static final ModelBlockAnimation.Parameter.Variable SCALE
-
XS
@SerializedName("scale_x") public static final ModelBlockAnimation.Parameter.Variable XS
-
YS
@SerializedName("scale_y") public static final ModelBlockAnimation.Parameter.Variable YS
-
ZS
@SerializedName("scale_z") public static final ModelBlockAnimation.Parameter.Variable ZS
-
XORIGIN
@SerializedName("origin_x") public static final ModelBlockAnimation.Parameter.Variable XORIGIN
-
YORIGIN
@SerializedName("origin_y") public static final ModelBlockAnimation.Parameter.Variable YORIGIN
-
ZORIGIN
@SerializedName("origin_z") public static final ModelBlockAnimation.Parameter.Variable ZORIGIN
-
-
Method Detail
-
values
public static ModelBlockAnimation.Parameter.Variable[] 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 (ModelBlockAnimation.Parameter.Variable c : ModelBlockAnimation.Parameter.Variable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelBlockAnimation.Parameter.Variable valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-