Uses of Enum Class
net.minecraft.util.math.AxisRotation
Packages that use AxisRotation
Package
Description
-
Uses of AxisRotation in net.minecraft.client.render.model
Methods in net.minecraft.client.render.model with parameters of type AxisRotationModifier and TypeMethodDescriptionprivate static voidBakedQuadFactory.packVertexData(int int2, CubeFace cubeFace, ModelElementFace.UV uV, AxisRotation axisRotation, Matrix4fc matrix4fc, Vector3fc vector3fc, Vector3fc vector3fc2, Sprite sprite, AffineTransformation affineTransformation, @Nullable ModelRotation modelRotation, Vector3fc[] vector3fc3, long[] long2, Baker.class_12356 class_12356) -
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.private final AxisRotationModelVariant.ModelState.zThe field for thezrecord component.Fields in net.minecraft.client.render.model.json with type parameters of type AxisRotationModifier and TypeFieldDescriptionstatic final ModelVariantOperator.Settings<AxisRotation> ModelVariantOperator.field_64587static 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.ModelVariant.ModelState.z()Returns the value of thezrecord 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.method_76657(AxisRotation axisRotation) ModelVariant.ModelState.method_76658(AxisRotation axisRotation) 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 rotation) ModelState(AxisRotation x, AxisRotation y, AxisRotation z, boolean uvLock) Creates an instance of aModelStaterecord class. -
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 DirectionTransformationAxisRotation.method_76599(AxisRotation axisRotation, AxisRotation axisRotation2) static DirectionTransformationAxisRotation.method_76600(AxisRotation axisRotation, AxisRotation axisRotation2, AxisRotation axisRotation3)