Uses of Enum Class
net.minecraft.util.math.AxisRotation
Packages that use AxisRotation
Package
Description
-
Uses of AxisRotation in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as AxisRotationModifier and TypeFieldDescriptionprivate final AxisRotation
ModelRotation.xRotation
private final AxisRotation
ModelRotation.yRotation
Methods in net.minecraft.client.render.model with parameters of type AxisRotationModifier and TypeMethodDescriptionprivate static void
BakedQuadFactory.packVertexData
(int[] vertices, int cornerIndex, CubeFace cubeFace, ModelElementFace.UV texture, AxisRotation axisRotation, Matrix4fc matrix4fc, float[] float2, Sprite sprite, AffineTransformation affineTransformation, @Nullable ModelRotation modelRotation) private static int[]
BakedQuadFactory.packVertexData
(ModelElementFace.UV texture, AxisRotation rotation, Matrix4fc matrix4fc, Sprite sprite, Direction facing, float[] float2, AffineTransformation transform, @Nullable ModelRotation modelRotation) static ModelRotation
ModelRotation.rotate
(AxisRotation xRotation, AxisRotation yRotation) Constructors in net.minecraft.client.render.model with parameters of type AxisRotation -
Uses of AxisRotation in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as AxisRotationModifier and TypeFieldDescriptionprivate final AxisRotation
ModelElementFace.rotation
The field for therotation
record component.private final AxisRotation
ModelVariant.ModelState.x
The field for thex
record component.private final AxisRotation
ModelVariant.ModelState.y
The field for they
record component.Fields in net.minecraft.client.render.model.json with type parameters of type AxisRotationModifier and TypeFieldDescriptionstatic final ModelVariantOperator.Settings
<AxisRotation> ModelVariantOperator.ROTATION_X
static final ModelVariantOperator.Settings
<AxisRotation> ModelVariantOperator.ROTATION_Y
Methods in net.minecraft.client.render.model.json that return AxisRotationModifier and TypeMethodDescriptionprivate static AxisRotation
ModelElementFace.Deserializer.getRotation
(JsonObject jsonObject) ModelElementFace.rotation()
Returns the value of therotation
record component.ModelVariant.ModelState.x()
Returns the value of thex
record component.ModelVariant.ModelState.y()
Returns the value of they
record component.Methods in net.minecraft.client.render.model.json with parameters of type AxisRotationModifier and TypeMethodDescriptionstatic float
ModelElementFace.getUValue
(ModelElementFace.UV uV, AxisRotation axisRotation, int int2) static float
ModelElementFace.getVValue
(ModelElementFace.UV uV, AxisRotation axisRotation, int int2) ModelVariant.ModelState.setRotationX
(AxisRotation amount) ModelVariant.ModelState.setRotationY
(AxisRotation amount) ModelVariant.withRotationX
(AxisRotation amount) ModelVariant.withRotationY
(AxisRotation amount) Constructors in net.minecraft.client.render.model.json with parameters of type AxisRotationModifierConstructorDescriptionModelElementFace
(@Nullable Direction cullFace, int tintIndex, String textureId, @Nullable ModelElementFace.UV textureData, AxisRotation axisRotation) ModelState
(AxisRotation axisRotation, AxisRotation axisRotation2, boolean bool) -
Uses of AxisRotation in net.minecraft.util.math
Fields in net.minecraft.util.math with type parameters of type AxisRotationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AxisRotation> AxisRotation.CODEC
Methods in net.minecraft.util.math that return AxisRotationModifier and TypeMethodDescriptionstatic AxisRotation
AxisRotation.fromDegrees
(int degrees) Deprecated.static AxisRotation
Returns the enum constant of this class with the specified name.static AxisRotation[]
AxisRotation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.util.math with parameters of type AxisRotationModifier and TypeMethodDescriptionstatic DirectionTransformation
DirectionTransformation.fromRotations
(AxisRotation x, AxisRotation y)