Package net.minecraft.util
Enum TriplePermutation
- java.lang.Object
-
- java.lang.Enum<TriplePermutation>
-
- net.minecraft.util.TriplePermutation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TriplePermutation>
public enum TriplePermutation extends java.lang.Enum<TriplePermutation>
-
-
Field Summary
Fields Modifier and Type Field Description private static TriplePermutation[][]
cayleyTable
private int[]
permutation
private Matrix3f
transformation
-
Constructor Summary
Constructors Modifier Constructor Description private
TriplePermutation(int p_i232416_3_, int p_i232416_4_, int p_i232416_5_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TriplePermutation
compose(TriplePermutation p_239188_1_)
int
permutation(int p_239187_1_)
Matrix3f
transformation()
static TriplePermutation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TriplePermutation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
P123
public static final TriplePermutation P123
-
P213
public static final TriplePermutation P213
-
P132
public static final TriplePermutation P132
-
P231
public static final TriplePermutation P231
-
P312
public static final TriplePermutation P312
-
P321
public static final TriplePermutation P321
-
-
Field Detail
-
permutation
private final int[] permutation
-
transformation
private final Matrix3f transformation
-
cayleyTable
private static final TriplePermutation[][] cayleyTable
-
-
Method Detail
-
values
public static TriplePermutation[] 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 (TriplePermutation c : TriplePermutation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TriplePermutation 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
-
compose
public TriplePermutation compose(TriplePermutation p_239188_1_)
-
permutation
public int permutation(int p_239187_1_)
-
transformation
public Matrix3f transformation()
-
-