枚举 ModelRotation
- java.lang.Object
-
- java.lang.Enum<ModelRotation>
-
- net.minecraft.client.render.model.ModelRotation
-
- 所有已实现的接口:
Serializable,Comparable<ModelRotation>,ModelBakeSettings
@Environment(CLIENT) public enum ModelRotation extends Enum<ModelRotation> implements ModelBakeSettings
- Mappings:
Namespace Name official exqintermediary net/minecraft/class_1086named net/minecraft/client/render/model/ModelRotation
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Map<Integer,ModelRotation>BY_INDEXprivate DirectionTransformationdirectionTransformationprivate static intfield_32982private intindexprivate AffineTransformationrotation
-
构造器概要
构造器 限定符 构造器 说明 privateModelRotation(int x, int y)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static ModelRotationget(int x, int y)private static intgetIndex(int x, int y)AffineTransformationgetRotation()DirectionTransformationmethod_35808()static ModelRotationvalueOf(String name)返回带有指定名称的该类型的枚举常量。static ModelRotation[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。-
从类继承的方法 java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
从接口继承的方法 net.minecraft.client.render.model.ModelBakeSettings
isUvLocked
-
-
-
-
枚举常量详细资料
-
X0_Y0
public static final ModelRotation X0_Y0
- Mappings:
Namespace Name Mixin selector official aLexq;a:Lexq;intermediary field_5350Lnet/minecraft/class_1086;field_5350:Lnet/minecraft/class_1086;named X0_Y0Lnet/minecraft/client/render/model/ModelRotation;X0_Y0:Lnet/minecraft/client/render/model/ModelRotation;
-
X0_Y90
public static final ModelRotation X0_Y90
- Mappings:
Namespace Name Mixin selector official bLexq;b:Lexq;intermediary field_5366Lnet/minecraft/class_1086;field_5366:Lnet/minecraft/class_1086;named X0_Y90Lnet/minecraft/client/render/model/ModelRotation;X0_Y90:Lnet/minecraft/client/render/model/ModelRotation;
-
X0_Y180
public static final ModelRotation X0_Y180
- Mappings:
Namespace Name Mixin selector official cLexq;c:Lexq;intermediary field_5355Lnet/minecraft/class_1086;field_5355:Lnet/minecraft/class_1086;named X0_Y180Lnet/minecraft/client/render/model/ModelRotation;X0_Y180:Lnet/minecraft/client/render/model/ModelRotation;
-
X0_Y270
public static final ModelRotation X0_Y270
- Mappings:
Namespace Name Mixin selector official dLexq;d:Lexq;intermediary field_5347Lnet/minecraft/class_1086;field_5347:Lnet/minecraft/class_1086;named X0_Y270Lnet/minecraft/client/render/model/ModelRotation;X0_Y270:Lnet/minecraft/client/render/model/ModelRotation;
-
X90_Y0
public static final ModelRotation X90_Y0
- Mappings:
Namespace Name Mixin selector official eLexq;e:Lexq;intermediary field_5351Lnet/minecraft/class_1086;field_5351:Lnet/minecraft/class_1086;named X90_Y0Lnet/minecraft/client/render/model/ModelRotation;X90_Y0:Lnet/minecraft/client/render/model/ModelRotation;
-
X90_Y90
public static final ModelRotation X90_Y90
- Mappings:
Namespace Name Mixin selector official fLexq;f:Lexq;intermediary field_5360Lnet/minecraft/class_1086;field_5360:Lnet/minecraft/class_1086;named X90_Y90Lnet/minecraft/client/render/model/ModelRotation;X90_Y90:Lnet/minecraft/client/render/model/ModelRotation;
-
X90_Y180
public static final ModelRotation X90_Y180
- Mappings:
Namespace Name Mixin selector official gLexq;g:Lexq;intermediary field_5367Lnet/minecraft/class_1086;field_5367:Lnet/minecraft/class_1086;named X90_Y180Lnet/minecraft/client/render/model/ModelRotation;X90_Y180:Lnet/minecraft/client/render/model/ModelRotation;
-
X90_Y270
public static final ModelRotation X90_Y270
- Mappings:
Namespace Name Mixin selector official hLexq;h:Lexq;intermediary field_5354Lnet/minecraft/class_1086;field_5354:Lnet/minecraft/class_1086;named X90_Y270Lnet/minecraft/client/render/model/ModelRotation;X90_Y270:Lnet/minecraft/client/render/model/ModelRotation;
-
X180_Y0
public static final ModelRotation X180_Y0
- Mappings:
Namespace Name Mixin selector official iLexq;i:Lexq;intermediary field_5358Lnet/minecraft/class_1086;field_5358:Lnet/minecraft/class_1086;named X180_Y0Lnet/minecraft/client/render/model/ModelRotation;X180_Y0:Lnet/minecraft/client/render/model/ModelRotation;
-
X180_Y90
public static final ModelRotation X180_Y90
- Mappings:
Namespace Name Mixin selector official jLexq;j:Lexq;intermediary field_5348Lnet/minecraft/class_1086;field_5348:Lnet/minecraft/class_1086;named X180_Y90Lnet/minecraft/client/render/model/ModelRotation;X180_Y90:Lnet/minecraft/client/render/model/ModelRotation;
-
X180_Y180
public static final ModelRotation X180_Y180
- Mappings:
Namespace Name Mixin selector official kLexq;k:Lexq;intermediary field_5356Lnet/minecraft/class_1086;field_5356:Lnet/minecraft/class_1086;named X180_Y180Lnet/minecraft/client/render/model/ModelRotation;X180_Y180:Lnet/minecraft/client/render/model/ModelRotation;
-
X180_Y270
public static final ModelRotation X180_Y270
- Mappings:
Namespace Name Mixin selector official lLexq;l:Lexq;intermediary field_5359Lnet/minecraft/class_1086;field_5359:Lnet/minecraft/class_1086;named X180_Y270Lnet/minecraft/client/render/model/ModelRotation;X180_Y270:Lnet/minecraft/client/render/model/ModelRotation;
-
X270_Y0
public static final ModelRotation X270_Y0
- Mappings:
Namespace Name Mixin selector official mLexq;m:Lexq;intermediary field_5353Lnet/minecraft/class_1086;field_5353:Lnet/minecraft/class_1086;named X270_Y0Lnet/minecraft/client/render/model/ModelRotation;X270_Y0:Lnet/minecraft/client/render/model/ModelRotation;
-
X270_Y90
public static final ModelRotation X270_Y90
- Mappings:
Namespace Name Mixin selector official nLexq;n:Lexq;intermediary field_5349Lnet/minecraft/class_1086;field_5349:Lnet/minecraft/class_1086;named X270_Y90Lnet/minecraft/client/render/model/ModelRotation;X270_Y90:Lnet/minecraft/client/render/model/ModelRotation;
-
X270_Y180
public static final ModelRotation X270_Y180
- Mappings:
Namespace Name Mixin selector official oLexq;o:Lexq;intermediary field_5361Lnet/minecraft/class_1086;field_5361:Lnet/minecraft/class_1086;named X270_Y180Lnet/minecraft/client/render/model/ModelRotation;X270_Y180:Lnet/minecraft/client/render/model/ModelRotation;
-
X270_Y270
public static final ModelRotation X270_Y270
- Mappings:
Namespace Name Mixin selector official pLexq;p:Lexq;intermediary field_5352Lnet/minecraft/class_1086;field_5352:Lnet/minecraft/class_1086;named X270_Y270Lnet/minecraft/client/render/model/ModelRotation;X270_Y270:Lnet/minecraft/client/render/model/ModelRotation;
-
-
字段详细资料
-
field_32982
private static final int field_32982
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official qLexq;q:Iintermediary field_32982Lnet/minecraft/class_1086;field_32982:Inamed field_32982Lnet/minecraft/client/render/model/ModelRotation;field_32982:I
-
BY_INDEX
private static final Map<Integer,ModelRotation> BY_INDEX
- Mappings:
Namespace Name Mixin selector official rLexq;r:Ljava/util/Map;intermediary field_5357Lnet/minecraft/class_1086;field_5357:Ljava/util/Map;named BY_INDEXLnet/minecraft/client/render/model/ModelRotation;BY_INDEX:Ljava/util/Map;
-
rotation
private final AffineTransformation rotation
- Mappings:
Namespace Name Mixin selector official sLexq;s:Li;intermediary field_23373Lnet/minecraft/class_1086;field_23373:Lnet/minecraft/class_4590;named rotationLnet/minecraft/client/render/model/ModelRotation;rotation:Lnet/minecraft/util/math/AffineTransformation;
-
directionTransformation
private final DirectionTransformation directionTransformation
- Mappings:
Namespace Name Mixin selector official tLexq;t:Lf;intermediary field_23374Lnet/minecraft/class_1086;field_23374:Lnet/minecraft/class_4990;named directionTransformationLnet/minecraft/client/render/model/ModelRotation;directionTransformation:Lnet/minecraft/util/math/DirectionTransformation;
-
index
private final int index
- Mappings:
Namespace Name Mixin selector official uLexq;u:Iintermediary field_5364Lnet/minecraft/class_1086;field_5364:Inamed indexLnet/minecraft/client/render/model/ModelRotation;index:I
-
-
构造器详细资料
-
ModelRotation
private ModelRotation(int x, int y)- Mappings:
Namespace Name Mixin selector official <init>Lexq;<init>(Ljava/lang/String;III)Vintermediary <init>Lnet/minecraft/class_1086;<init>(Ljava/lang/String;III)Vnamed <init>Lnet/minecraft/client/render/model/ModelRotation;<init>(Ljava/lang/String;III)V
-
-
方法详细资料
-
values
public static ModelRotation[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (ModelRotation c : ModelRotation.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static ModelRotation valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getIndex
private static int getIndex(int x, int y)- Mappings:
Namespace Name Mixin selector official bLexq;b(II)Iintermediary method_4703Lnet/minecraft/class_1086;method_4703(II)Inamed getIndexLnet/minecraft/client/render/model/ModelRotation;getIndex(II)I
-
getRotation
public AffineTransformation getRotation()
- 指定者:
getRotation在接口中ModelBakeSettings- Mappings:
Namespace Name Mixin selector official bLexw;b()Li;intermediary method_3509Lnet/minecraft/class_3665;method_3509()Lnet/minecraft/class_4590;named getRotationLnet/minecraft/client/render/model/ModelBakeSettings;getRotation()Lnet/minecraft/util/math/AffineTransformation;
-
get
public static ModelRotation get(int x, int y)
- Mappings:
Namespace Name Mixin selector official aLexq;a(II)Lexq;intermediary method_4699Lnet/minecraft/class_1086;method_4699(II)Lnet/minecraft/class_1086;named getLnet/minecraft/client/render/model/ModelRotation;get(II)Lnet/minecraft/client/render/model/ModelRotation;
-
method_35808
public DirectionTransformation method_35808()
- Mappings:
Namespace Name Mixin selector official aLexq;a()Lf;intermediary method_35808Lnet/minecraft/class_1086;method_35808()Lnet/minecraft/class_4990;named method_35808Lnet/minecraft/client/render/model/ModelRotation;method_35808()Lnet/minecraft/util/math/DirectionTransformation;
-
-