枚举 CubeFace
- java.lang.Object
-
- java.lang.Enum<CubeFace>
-
- net.minecraft.client.render.model.CubeFace
-
- 所有已实现的接口:
Serializable,Comparable<CubeFace>
@Environment(CLIENT) public enum CubeFace extends Enum<CubeFace>
- Mappings:
Namespace Name official elrintermediary net/minecraft/class_753named net/minecraft/client/render/model/CubeFace
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCubeFace.Cornerstatic classCubeFace.DirectionIds
-
字段概要
字段 修饰符和类型 字段 说明 private CubeFace.Corner[]cornersprivate static CubeFace[]DIRECTION_LOOKUP
-
构造器概要
构造器 限定符 构造器 说明 privateCubeFace(CubeFace.Corner[] corners)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 CubeFace.CornergetCorner(int corner)static CubeFacegetFace(Direction direction)static CubeFacevalueOf(String name)返回带有指定名称的该类型的枚举常量。static CubeFace[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
DOWN
public static final CubeFace DOWN
- Mappings:
Namespace Name Mixin selector official aLelr;a:Lelr;intermediary field_3965Lnet/minecraft/class_753;field_3965:Lnet/minecraft/class_753;named DOWNLnet/minecraft/client/render/model/CubeFace;DOWN:Lnet/minecraft/client/render/model/CubeFace;
-
UP
public static final CubeFace UP
- Mappings:
Namespace Name Mixin selector official bLelr;b:Lelr;intermediary field_3960Lnet/minecraft/class_753;field_3960:Lnet/minecraft/class_753;named UPLnet/minecraft/client/render/model/CubeFace;UP:Lnet/minecraft/client/render/model/CubeFace;
-
NORTH
public static final CubeFace NORTH
- Mappings:
Namespace Name Mixin selector official cLelr;c:Lelr;intermediary field_3962Lnet/minecraft/class_753;field_3962:Lnet/minecraft/class_753;named NORTHLnet/minecraft/client/render/model/CubeFace;NORTH:Lnet/minecraft/client/render/model/CubeFace;
-
SOUTH
public static final CubeFace SOUTH
- Mappings:
Namespace Name Mixin selector official dLelr;d:Lelr;intermediary field_3963Lnet/minecraft/class_753;field_3963:Lnet/minecraft/class_753;named SOUTHLnet/minecraft/client/render/model/CubeFace;SOUTH:Lnet/minecraft/client/render/model/CubeFace;
-
WEST
public static final CubeFace WEST
- Mappings:
Namespace Name Mixin selector official eLelr;e:Lelr;intermediary field_3966Lnet/minecraft/class_753;field_3966:Lnet/minecraft/class_753;named WESTLnet/minecraft/client/render/model/CubeFace;WEST:Lnet/minecraft/client/render/model/CubeFace;
-
EAST
public static final CubeFace EAST
- Mappings:
Namespace Name Mixin selector official fLelr;f:Lelr;intermediary field_3961Lnet/minecraft/class_753;field_3961:Lnet/minecraft/class_753;named EASTLnet/minecraft/client/render/model/CubeFace;EAST:Lnet/minecraft/client/render/model/CubeFace;
-
-
字段详细资料
-
DIRECTION_LOOKUP
private static final CubeFace[] DIRECTION_LOOKUP
- Mappings:
Namespace Name Mixin selector official gLelr;g:[Lelr;intermediary field_3958Lnet/minecraft/class_753;field_3958:[Lnet/minecraft/class_753;named DIRECTION_LOOKUPLnet/minecraft/client/render/model/CubeFace;DIRECTION_LOOKUP:[Lnet/minecraft/client/render/model/CubeFace;
-
corners
private final CubeFace.Corner[] corners
- Mappings:
Namespace Name Mixin selector official hLelr;h:[Lelr$b;intermediary field_3959Lnet/minecraft/class_753;field_3959:[Lnet/minecraft/class_753$class_755;named cornersLnet/minecraft/client/render/model/CubeFace;corners:[Lnet/minecraft/client/render/model/CubeFace$Corner;
-
-
构造器详细资料
-
CubeFace
private CubeFace(CubeFace.Corner[] corners)
- Mappings:
Namespace Name Mixin selector official <init>Lelr;<init>(Ljava/lang/String;I[Lelr$b;)Vintermediary <init>Lnet/minecraft/class_753;<init>(Ljava/lang/String;I[Lnet/minecraft/class_753$class_755;)Vnamed <init>Lnet/minecraft/client/render/model/CubeFace;<init>(Ljava/lang/String;I[Lnet/minecraft/client/render/model/CubeFace$Corner;)V
-
-
方法详细资料
-
values
public static CubeFace[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (CubeFace c : CubeFace.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static CubeFace valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getFace
public static CubeFace getFace(Direction direction)
- Mappings:
Namespace Name Mixin selector official aLelr;a(Lgg;)Lelr;intermediary method_3163Lnet/minecraft/class_753;method_3163(Lnet/minecraft/class_2350;)Lnet/minecraft/class_753;named getFaceLnet/minecraft/client/render/model/CubeFace;getFace(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/client/render/model/CubeFace;
-
getCorner
public CubeFace.Corner getCorner(int corner)
- Mappings:
Namespace Name Mixin selector official aLelr;a(I)Lelr$b;intermediary method_3162Lnet/minecraft/class_753;method_3162(I)Lnet/minecraft/class_753$class_755;named getCornerLnet/minecraft/client/render/model/CubeFace;getCorner(I)Lnet/minecraft/client/render/model/CubeFace$Corner;
-
-