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 AxisRotationModelRotation.xRotationprivate final AxisRotationModelRotation.yRotationMethods in net.minecraft.client.render.model with parameters of type AxisRotationModifier and TypeMethodDescriptionprivate static voidBakedQuadFactory.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 ModelRotationModelRotation.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 AxisRotationModelElementFace.rotationThe field for therotationrecord component.private final AxisRotationModelVariant.ModelState.xThe field for thexrecord component.private final AxisRotationModelVariant.ModelState.yThe field for theyrecord component.Fields in net.minecraft.client.render.model.json with type parameters of type AxisRotationModifier and TypeFieldDescriptionstatic final ModelVariantOperator.Settings<AxisRotation> ModelVariantOperator.ROTATION_Xstatic final ModelVariantOperator.Settings<AxisRotation> ModelVariantOperator.ROTATION_YMethods in net.minecraft.client.render.model.json that return AxisRotationModifier and TypeMethodDescriptionprivate static AxisRotationModelElementFace.Deserializer.getRotation(JsonObject jsonObject) ModelElementFace.rotation()Returns the value of therotationrecord component.ModelVariant.ModelState.x()Returns the value of thexrecord component.ModelVariant.ModelState.y()Returns the value of theyrecord component.Methods in net.minecraft.client.render.model.json with parameters of type AxisRotationModifier and TypeMethodDescriptionstatic floatModelElementFace.getUValue(ModelElementFace.UV uV, AxisRotation axisRotation, int int2) static floatModelElementFace.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.CODECMethods in net.minecraft.util.math that return AxisRotationModifier and TypeMethodDescriptionstatic AxisRotationAxisRotation.fromDegrees(int degrees) Deprecated.static AxisRotationReturns 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 DirectionTransformationDirectionTransformation.fromRotations(AxisRotation x, AxisRotation y)