Enum Class ModelRotation
- All Implemented Interfaces:
- Serializable,- Comparable<ModelRotation>,- Constable,- ModelBakeSettings
@Environment(CLIENT)
public enum ModelRotation
extends Enum<ModelRotation>
implements ModelBakeSettings
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/model/ModelRotation- intermediary - net/minecraft/class_1086- official - hgu
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Map<Integer, ModelRotation> private final DirectionTransformationprivate final intprivate static final intprivate final AffineTransformation
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.client.render.model.ModelBakeSettingsisUvLocked
- 
Enum Constant Details- 
X0_Y0- Mappings:
- Namespace - Name - Mixin selector - named - X0_Y0- Lnet/minecraft/client/render/model/ModelRotation;X0_Y0:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5350- Lnet/minecraft/class_1086;field_5350:Lnet/minecraft/class_1086;- official - a- Lhgu;a:Lhgu;
 
- 
X0_Y90- Mappings:
- Namespace - Name - Mixin selector - named - X0_Y90- Lnet/minecraft/client/render/model/ModelRotation;X0_Y90:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5366- Lnet/minecraft/class_1086;field_5366:Lnet/minecraft/class_1086;- official - b- Lhgu;b:Lhgu;
 
- 
X0_Y180- Mappings:
- Namespace - Name - Mixin selector - named - X0_Y180- Lnet/minecraft/client/render/model/ModelRotation;X0_Y180:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5355- Lnet/minecraft/class_1086;field_5355:Lnet/minecraft/class_1086;- official - c- Lhgu;c:Lhgu;
 
- 
X0_Y270- Mappings:
- Namespace - Name - Mixin selector - named - X0_Y270- Lnet/minecraft/client/render/model/ModelRotation;X0_Y270:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5347- Lnet/minecraft/class_1086;field_5347:Lnet/minecraft/class_1086;- official - d- Lhgu;d:Lhgu;
 
- 
X90_Y0- Mappings:
- Namespace - Name - Mixin selector - named - X90_Y0- Lnet/minecraft/client/render/model/ModelRotation;X90_Y0:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5351- Lnet/minecraft/class_1086;field_5351:Lnet/minecraft/class_1086;- official - e- Lhgu;e:Lhgu;
 
- 
X90_Y90- Mappings:
- Namespace - Name - Mixin selector - named - X90_Y90- Lnet/minecraft/client/render/model/ModelRotation;X90_Y90:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5360- Lnet/minecraft/class_1086;field_5360:Lnet/minecraft/class_1086;- official - f- Lhgu;f:Lhgu;
 
- 
X90_Y180- Mappings:
- Namespace - Name - Mixin selector - named - X90_Y180- Lnet/minecraft/client/render/model/ModelRotation;X90_Y180:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5367- Lnet/minecraft/class_1086;field_5367:Lnet/minecraft/class_1086;- official - g- Lhgu;g:Lhgu;
 
- 
X90_Y270- Mappings:
- Namespace - Name - Mixin selector - named - X90_Y270- Lnet/minecraft/client/render/model/ModelRotation;X90_Y270:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5354- Lnet/minecraft/class_1086;field_5354:Lnet/minecraft/class_1086;- official - h- Lhgu;h:Lhgu;
 
- 
X180_Y0- Mappings:
- Namespace - Name - Mixin selector - named - X180_Y0- Lnet/minecraft/client/render/model/ModelRotation;X180_Y0:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5358- Lnet/minecraft/class_1086;field_5358:Lnet/minecraft/class_1086;- official - i- Lhgu;i:Lhgu;
 
- 
X180_Y90- Mappings:
- Namespace - Name - Mixin selector - named - X180_Y90- Lnet/minecraft/client/render/model/ModelRotation;X180_Y90:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5348- Lnet/minecraft/class_1086;field_5348:Lnet/minecraft/class_1086;- official - j- Lhgu;j:Lhgu;
 
- 
X180_Y180- Mappings:
- Namespace - Name - Mixin selector - named - X180_Y180- Lnet/minecraft/client/render/model/ModelRotation;X180_Y180:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5356- Lnet/minecraft/class_1086;field_5356:Lnet/minecraft/class_1086;- official - k- Lhgu;k:Lhgu;
 
- 
X180_Y270- Mappings:
- Namespace - Name - Mixin selector - named - X180_Y270- Lnet/minecraft/client/render/model/ModelRotation;X180_Y270:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5359- Lnet/minecraft/class_1086;field_5359:Lnet/minecraft/class_1086;- official - l- Lhgu;l:Lhgu;
 
- 
X270_Y0- Mappings:
- Namespace - Name - Mixin selector - named - X270_Y0- Lnet/minecraft/client/render/model/ModelRotation;X270_Y0:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5353- Lnet/minecraft/class_1086;field_5353:Lnet/minecraft/class_1086;- official - m- Lhgu;m:Lhgu;
 
- 
X270_Y90- Mappings:
- Namespace - Name - Mixin selector - named - X270_Y90- Lnet/minecraft/client/render/model/ModelRotation;X270_Y90:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5349- Lnet/minecraft/class_1086;field_5349:Lnet/minecraft/class_1086;- official - n- Lhgu;n:Lhgu;
 
- 
X270_Y180- Mappings:
- Namespace - Name - Mixin selector - named - X270_Y180- Lnet/minecraft/client/render/model/ModelRotation;X270_Y180:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5361- Lnet/minecraft/class_1086;field_5361:Lnet/minecraft/class_1086;- official - o- Lhgu;o:Lhgu;
 
- 
X270_Y270- Mappings:
- Namespace - Name - Mixin selector - named - X270_Y270- Lnet/minecraft/client/render/model/ModelRotation;X270_Y270:Lnet/minecraft/client/render/model/ModelRotation;- intermediary - field_5352- Lnet/minecraft/class_1086;field_5352:Lnet/minecraft/class_1086;- official - p- Lhgu;p:Lhgu;
 
 
- 
- 
Field Details- 
MAX_ROTATIONprivate static final int MAX_ROTATION- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MAX_ROTATION- Lnet/minecraft/client/render/model/ModelRotation;MAX_ROTATION:I- intermediary - field_32982- Lnet/minecraft/class_1086;field_32982:I- official - q- Lhgu;q:I
 
- 
BY_INDEX- Mappings:
- Namespace - Name - Mixin selector - named - BY_INDEX- Lnet/minecraft/client/render/model/ModelRotation;BY_INDEX:Ljava/util/Map;- intermediary - field_5357- Lnet/minecraft/class_1086;field_5357:Ljava/util/Map;- official - r- Lhgu;r:Ljava/util/Map;
 
- 
rotation- Mappings:
- Namespace - Name - Mixin selector - named - rotation- Lnet/minecraft/client/render/model/ModelRotation;rotation:Lnet/minecraft/util/math/AffineTransformation;- intermediary - field_23373- Lnet/minecraft/class_1086;field_23373:Lnet/minecraft/class_4590;- official - s- Lhgu;s:Lj;
 
- 
directionTransformation- Mappings:
- Namespace - Name - Mixin selector - named - directionTransformation- Lnet/minecraft/client/render/model/ModelRotation;directionTransformation:Lnet/minecraft/util/math/DirectionTransformation;- intermediary - field_23374- Lnet/minecraft/class_1086;field_23374:Lnet/minecraft/class_4990;- official - t- Lhgu;t:Lh;
 
- 
indexprivate final int index- Mappings:
- Namespace - Name - Mixin selector - named - index- Lnet/minecraft/client/render/model/ModelRotation;index:I- intermediary - field_5364- Lnet/minecraft/class_1086;field_5364:I- official - u- Lhgu;u:I
 
 
- 
- 
Constructor Details- 
ModelRotationprivate ModelRotation(int x, int y) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/render/model/ModelRotation;<init>(Ljava/lang/String;III)V- intermediary - <init>- Lnet/minecraft/class_1086;<init>(Ljava/lang/String;III)V- official - <init>- Lhgu;<init>(Ljava/lang/String;III)V
 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getIndexprivate static int getIndex(int x, int y) - Mappings:
- Namespace - Name - Mixin selector - named - getIndex- Lnet/minecraft/client/render/model/ModelRotation;getIndex(II)I- intermediary - method_4703- Lnet/minecraft/class_1086;method_4703(II)I- official - b- Lhgu;b(II)I
 
- 
getRotation- Specified by:
- getRotationin interface- ModelBakeSettings
- Mappings:
- Namespace - Name - Mixin selector - named - getRotation- Lnet/minecraft/client/render/model/ModelBakeSettings;getRotation()Lnet/minecraft/util/math/AffineTransformation;- intermediary - method_3509- Lnet/minecraft/class_3665;method_3509()Lnet/minecraft/class_4590;- official - a- Lhhj;a()Lj;
 
- 
get- Mappings:
- Namespace - Name - Mixin selector - named - get- Lnet/minecraft/client/render/model/ModelRotation;get(II)Lnet/minecraft/client/render/model/ModelRotation;- intermediary - method_4699- Lnet/minecraft/class_1086;method_4699(II)Lnet/minecraft/class_1086;- official - a- Lhgu;a(II)Lhgu;
 
- 
getDirectionTransformation- Mappings:
- Namespace - Name - Mixin selector - named - getDirectionTransformation- Lnet/minecraft/client/render/model/ModelRotation;getDirectionTransformation()Lnet/minecraft/util/math/DirectionTransformation;- intermediary - method_35808- Lnet/minecraft/class_1086;method_35808()Lnet/minecraft/class_4990;- official - c- Lhgu;c()Lh;
 
 
-