Enum Class ModelRotation
- All Implemented Interfaces:
Serializable,Comparable<ModelRotation>,Constable,ModelBakeSettings
@Environment(CLIENT)
public enum ModelRotation
extends Enum<ModelRotation>
implements ModelBakeSettings
- Mappings:
Namespace Name intermediary net/minecraft/class_1086official fwhnamed net/minecraft/client/render/model/ModelRotation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<Integer,ModelRotation> private final DirectionTransformationprivate final intprivate static final intprivate final AffineTransformation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelRotationget(int x, int y) private static intgetIndex(int x, int y) static ModelRotationReturns the enum constant of this class with the specified name.static ModelRotation[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.client.render.model.ModelBakeSettings
isUvLocked
-
Enum Constant Details
-
X0_Y0
- Mappings:
Namespace Name Mixin selector intermediary field_5350Lnet/minecraft/class_1086;field_5350:Lnet/minecraft/class_1086;official aLfwh;a:Lfwh;named X0_Y0Lnet/minecraft/client/render/model/ModelRotation;X0_Y0:Lnet/minecraft/client/render/model/ModelRotation;
-
X0_Y90
- Mappings:
Namespace Name Mixin selector intermediary field_5366Lnet/minecraft/class_1086;field_5366:Lnet/minecraft/class_1086;official bLfwh;b:Lfwh;named X0_Y90Lnet/minecraft/client/render/model/ModelRotation;X0_Y90:Lnet/minecraft/client/render/model/ModelRotation;
-
X0_Y180
- Mappings:
Namespace Name Mixin selector intermediary field_5355Lnet/minecraft/class_1086;field_5355:Lnet/minecraft/class_1086;official cLfwh;c:Lfwh;named X0_Y180Lnet/minecraft/client/render/model/ModelRotation;X0_Y180:Lnet/minecraft/client/render/model/ModelRotation;
-
X0_Y270
- Mappings:
Namespace Name Mixin selector intermediary field_5347Lnet/minecraft/class_1086;field_5347:Lnet/minecraft/class_1086;official dLfwh;d:Lfwh;named X0_Y270Lnet/minecraft/client/render/model/ModelRotation;X0_Y270:Lnet/minecraft/client/render/model/ModelRotation;
-
X90_Y0
- Mappings:
Namespace Name Mixin selector intermediary field_5351Lnet/minecraft/class_1086;field_5351:Lnet/minecraft/class_1086;official eLfwh;e:Lfwh;named X90_Y0Lnet/minecraft/client/render/model/ModelRotation;X90_Y0:Lnet/minecraft/client/render/model/ModelRotation;
-
X90_Y90
- Mappings:
Namespace Name Mixin selector intermediary field_5360Lnet/minecraft/class_1086;field_5360:Lnet/minecraft/class_1086;official fLfwh;f:Lfwh;named X90_Y90Lnet/minecraft/client/render/model/ModelRotation;X90_Y90:Lnet/minecraft/client/render/model/ModelRotation;
-
X90_Y180
- Mappings:
Namespace Name Mixin selector intermediary field_5367Lnet/minecraft/class_1086;field_5367:Lnet/minecraft/class_1086;official gLfwh;g:Lfwh;named X90_Y180Lnet/minecraft/client/render/model/ModelRotation;X90_Y180:Lnet/minecraft/client/render/model/ModelRotation;
-
X90_Y270
- Mappings:
Namespace Name Mixin selector intermediary field_5354Lnet/minecraft/class_1086;field_5354:Lnet/minecraft/class_1086;official hLfwh;h:Lfwh;named X90_Y270Lnet/minecraft/client/render/model/ModelRotation;X90_Y270:Lnet/minecraft/client/render/model/ModelRotation;
-
X180_Y0
- Mappings:
Namespace Name Mixin selector intermediary field_5358Lnet/minecraft/class_1086;field_5358:Lnet/minecraft/class_1086;official iLfwh;i:Lfwh;named X180_Y0Lnet/minecraft/client/render/model/ModelRotation;X180_Y0:Lnet/minecraft/client/render/model/ModelRotation;
-
X180_Y90
- Mappings:
Namespace Name Mixin selector intermediary field_5348Lnet/minecraft/class_1086;field_5348:Lnet/minecraft/class_1086;official jLfwh;j:Lfwh;named X180_Y90Lnet/minecraft/client/render/model/ModelRotation;X180_Y90:Lnet/minecraft/client/render/model/ModelRotation;
-
X180_Y180
- Mappings:
Namespace Name Mixin selector intermediary field_5356Lnet/minecraft/class_1086;field_5356:Lnet/minecraft/class_1086;official kLfwh;k:Lfwh;named X180_Y180Lnet/minecraft/client/render/model/ModelRotation;X180_Y180:Lnet/minecraft/client/render/model/ModelRotation;
-
X180_Y270
- Mappings:
Namespace Name Mixin selector intermediary field_5359Lnet/minecraft/class_1086;field_5359:Lnet/minecraft/class_1086;official lLfwh;l:Lfwh;named X180_Y270Lnet/minecraft/client/render/model/ModelRotation;X180_Y270:Lnet/minecraft/client/render/model/ModelRotation;
-
X270_Y0
- Mappings:
Namespace Name Mixin selector intermediary field_5353Lnet/minecraft/class_1086;field_5353:Lnet/minecraft/class_1086;official mLfwh;m:Lfwh;named X270_Y0Lnet/minecraft/client/render/model/ModelRotation;X270_Y0:Lnet/minecraft/client/render/model/ModelRotation;
-
X270_Y90
- Mappings:
Namespace Name Mixin selector intermediary field_5349Lnet/minecraft/class_1086;field_5349:Lnet/minecraft/class_1086;official nLfwh;n:Lfwh;named X270_Y90Lnet/minecraft/client/render/model/ModelRotation;X270_Y90:Lnet/minecraft/client/render/model/ModelRotation;
-
X270_Y180
- Mappings:
Namespace Name Mixin selector intermediary field_5361Lnet/minecraft/class_1086;field_5361:Lnet/minecraft/class_1086;official oLfwh;o:Lfwh;named X270_Y180Lnet/minecraft/client/render/model/ModelRotation;X270_Y180:Lnet/minecraft/client/render/model/ModelRotation;
-
X270_Y270
- Mappings:
Namespace Name Mixin selector intermediary field_5352Lnet/minecraft/class_1086;field_5352:Lnet/minecraft/class_1086;official pLfwh;p:Lfwh;named X270_Y270Lnet/minecraft/client/render/model/ModelRotation;X270_Y270:Lnet/minecraft/client/render/model/ModelRotation;
-
-
Field Details
-
MAX_ROTATION
private static final int MAX_ROTATION- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32982Lnet/minecraft/class_1086;field_32982:Iofficial qLfwh;q:Inamed MAX_ROTATIONLnet/minecraft/client/render/model/ModelRotation;MAX_ROTATION:I
-
BY_INDEX
- Mappings:
Namespace Name Mixin selector intermediary field_5357Lnet/minecraft/class_1086;field_5357:Ljava/util/Map;official rLfwh;r:Ljava/util/Map;named BY_INDEXLnet/minecraft/client/render/model/ModelRotation;BY_INDEX:Ljava/util/Map;
-
rotation
- Mappings:
Namespace Name Mixin selector intermediary field_23373Lnet/minecraft/class_1086;field_23373:Lnet/minecraft/class_4590;official sLfwh;s:Lj;named rotationLnet/minecraft/client/render/model/ModelRotation;rotation:Lnet/minecraft/util/math/AffineTransformation;
-
directionTransformation
- Mappings:
Namespace Name Mixin selector intermediary field_23374Lnet/minecraft/class_1086;field_23374:Lnet/minecraft/class_4990;official tLfwh;t:Lh;named directionTransformationLnet/minecraft/client/render/model/ModelRotation;directionTransformation:Lnet/minecraft/util/math/DirectionTransformation;
-
index
private final int index- Mappings:
Namespace Name Mixin selector intermediary field_5364Lnet/minecraft/class_1086;field_5364:Iofficial uLfwh;u:Inamed indexLnet/minecraft/client/render/model/ModelRotation;index:I
-
-
Constructor Details
-
ModelRotation
private ModelRotation(int x, int y) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_1086;<init>(Ljava/lang/String;III)Vofficial <init>Lfwh;<init>(Ljava/lang/String;III)Vnamed <init>Lnet/minecraft/client/render/model/ModelRotation;<init>(Ljava/lang/String;III)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getIndex
private static int getIndex(int x, int y) - Mappings:
Namespace Name Mixin selector intermediary method_4703Lnet/minecraft/class_1086;method_4703(II)Iofficial bLfwh;b(II)Inamed getIndexLnet/minecraft/client/render/model/ModelRotation;getIndex(II)I
-
getRotation
- Specified by:
getRotationin interfaceModelBakeSettings- Mappings:
Namespace Name Mixin selector intermediary method_3509Lnet/minecraft/class_3665;method_3509()Lnet/minecraft/class_4590;official bLfwo;b()Lj;named getRotationLnet/minecraft/client/render/model/ModelBakeSettings;getRotation()Lnet/minecraft/util/math/AffineTransformation;
-
get
- Mappings:
Namespace Name Mixin selector intermediary method_4699Lnet/minecraft/class_1086;method_4699(II)Lnet/minecraft/class_1086;official aLfwh;a(II)Lfwh;named getLnet/minecraft/client/render/model/ModelRotation;get(II)Lnet/minecraft/client/render/model/ModelRotation;
-
getDirectionTransformation
- Mappings:
Namespace Name Mixin selector intermediary method_35808Lnet/minecraft/class_1086;method_35808()Lnet/minecraft/class_4990;official aLfwh;a()Lh;named getDirectionTransformationLnet/minecraft/client/render/model/ModelRotation;getDirectionTransformation()Lnet/minecraft/util/math/DirectionTransformation;
-