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 hmr
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DirectionTransformation
(package private) final AffineTransformation
private static final ModelRotation[][]
private final ModelRotation.UVModel
private final AxisRotation
private final AxisRotation
Fields inherited from interface net.minecraft.client.render.model.ModelBakeSettings
TRANSFORM_NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelRotation
rotate
(AxisRotation xRotation, AxisRotation yRotation) static ModelRotation
Returns 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, valueOf
Methods inherited from interface net.minecraft.client.render.model.ModelBakeSettings
forward, reverse
-
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
Lhmr;a:Lhmr;
-
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
Lhmr;b:Lhmr;
-
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
Lhmr;c:Lhmr;
-
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
Lhmr;d:Lhmr;
-
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
Lhmr;e:Lhmr;
-
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
Lhmr;f:Lhmr;
-
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
Lhmr;g:Lhmr;
-
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
Lhmr;h:Lhmr;
-
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
Lhmr;i:Lhmr;
-
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
Lhmr;j:Lhmr;
-
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
Lhmr;k:Lhmr;
-
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
Lhmr;l:Lhmr;
-
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
Lhmr;m:Lhmr;
-
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
Lhmr;n:Lhmr;
-
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
Lhmr;o:Lhmr;
-
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
Lhmr;p:Lhmr;
-
-
Field Details
-
ROTATION_MAP
- Mappings:
Namespace Name Mixin selector named ROTATION_MAP
Lnet/minecraft/client/render/model/ModelRotation;ROTATION_MAP:[[Lnet/minecraft/client/render/model/ModelRotation;
intermediary field_56975
Lnet/minecraft/class_1086;field_56975:[[Lnet/minecraft/class_1086;
official r
Lhmr;r:[[Lhmr;
-
xRotation
- Mappings:
Namespace Name Mixin selector named xRotation
Lnet/minecraft/client/render/model/ModelRotation;xRotation:Lnet/minecraft/util/math/AxisRotation;
intermediary field_56976
Lnet/minecraft/class_1086;field_56976:Lnet/minecraft/class_10821;
official s
Lhmr;s:Li;
-
yRotation
- Mappings:
Namespace Name Mixin selector named yRotation
Lnet/minecraft/client/render/model/ModelRotation;yRotation:Lnet/minecraft/util/math/AxisRotation;
intermediary field_56977
Lnet/minecraft/class_1086;field_56977:Lnet/minecraft/class_10821;
official t
Lhmr;t:Li;
-
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 u
Lhmr;u:Lk;
-
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 v
Lhmr;v:Lh;
-
faces
- Mappings:
Namespace Name Mixin selector named faces
Lnet/minecraft/client/render/model/ModelRotation;faces:Ljava/util/Map;
intermediary field_56978
Lnet/minecraft/class_1086;field_56978:Ljava/util/Map;
official w
Lhmr;w:Ljava/util/Map;
-
invertedFaces
- Mappings:
Namespace Name Mixin selector named invertedFaces
Lnet/minecraft/client/render/model/ModelRotation;invertedFaces:Ljava/util/Map;
intermediary field_56979
Lnet/minecraft/class_1086;field_56979:Ljava/util/Map;
official x
Lhmr;x:Ljava/util/Map;
-
uvModel
- Mappings:
Namespace Name Mixin selector named uvModel
Lnet/minecraft/client/render/model/ModelRotation;uvModel:Lnet/minecraft/client/render/model/ModelRotation$UVModel;
intermediary field_56980
Lnet/minecraft/class_1086;field_56980:Lnet/minecraft/class_1086$class_10810;
official y
Lhmr;y:Lhmr$a;
-
-
Constructor Details
-
ModelRotation
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/model/ModelRotation;<init>(Ljava/lang/String;ILnet/minecraft/util/math/AxisRotation;Lnet/minecraft/util/math/AxisRotation;)V
intermediary <init>
Lnet/minecraft/class_1086;<init>(Ljava/lang/String;ILnet/minecraft/class_10821;Lnet/minecraft/class_10821;)V
official <init>
Lhmr;<init>(Ljava/lang/String;ILi;Li;)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
-
getRotation
- Specified by:
getRotation
in interfaceModelBakeSettings
- 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
Lhnf;a()Lk;
-
rotate
- Mappings:
Namespace Name Mixin selector named rotate
Lnet/minecraft/client/render/model/ModelRotation;rotate(Lnet/minecraft/util/math/AxisRotation;Lnet/minecraft/util/math/AxisRotation;)Lnet/minecraft/client/render/model/ModelRotation;
intermediary method_68008
Lnet/minecraft/class_1086;method_68008(Lnet/minecraft/class_10821;Lnet/minecraft/class_10821;)Lnet/minecraft/class_1086;
official a
Lhmr;a(Li;Li;)Lhmr;
-
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 b
Lhmr;b()Lh;
-
getUVModel
- Mappings:
Namespace Name Mixin selector named getUVModel
Lnet/minecraft/client/render/model/ModelRotation;getUVModel()Lnet/minecraft/client/render/model/ModelBakeSettings;
intermediary method_68010
Lnet/minecraft/class_1086;method_68010()Lnet/minecraft/class_3665;
official c
Lhmr;c()Lhnf;
-