Package net.minecraft.client.renderer
Enum FaceDirection
- java.lang.Object
-
- java.lang.Enum<FaceDirection>
-
- net.minecraft.client.renderer.FaceDirection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FaceDirection>
public enum FaceDirection extends java.lang.Enum<FaceDirection>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FaceDirection.Constants
static class
FaceDirection.VertexInformation
-
Field Summary
Fields Modifier and Type Field Description private static FaceDirection[]
BY_FACING
private FaceDirection.VertexInformation[]
infos
-
Constructor Summary
Constructors Modifier Constructor Description private
FaceDirection(FaceDirection.VertexInformation... p_i46272_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FaceDirection
fromFacing(Direction p_179027_0_)
FaceDirection.VertexInformation
getVertexInfo(int p_179025_1_)
static FaceDirection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FaceDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOWN
public static final FaceDirection DOWN
-
UP
public static final FaceDirection UP
-
NORTH
public static final FaceDirection NORTH
-
SOUTH
public static final FaceDirection SOUTH
-
WEST
public static final FaceDirection WEST
-
EAST
public static final FaceDirection EAST
-
-
Field Detail
-
BY_FACING
private static final FaceDirection[] BY_FACING
-
infos
private final FaceDirection.VertexInformation[] infos
-
-
Constructor Detail
-
FaceDirection
private FaceDirection(FaceDirection.VertexInformation... p_i46272_3_)
-
-
Method Detail
-
values
public static FaceDirection[] 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 (FaceDirection c : FaceDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FaceDirection 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
-
fromFacing
public static FaceDirection fromFacing(Direction p_179027_0_)
-
getVertexInfo
public FaceDirection.VertexInformation getVertexInfo(int p_179025_1_)
-
-