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 corner, CubeFace cubeFace, ModelElementFace.UV uv, AxisRotation axisRotation, Matrix4fc matrix, Vector3fc from, Vector3fc to, Sprite sprite, AffineTransformation affineTransformation, @Nullable ModelElementRotation rotation, Vector3fc[] positions, long[] packedUvs, Baker.Vec3fInterner interner) -
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.ROTATION_Xstatic final ModelVariantOperator.Settings<AxisRotation> ModelVariantOperator.ROTATION_Ystatic final ModelVariantOperator.Settings<AxisRotation> ModelVariantOperator.ROTATION_ZMethods in net.minecraft.client.render.model.json that return AxisRotationModifier and TypeMethodDescriptionprivate static AxisRotationModelElementFace.Deserializer.getRotation(JsonObject json) 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 rotation, int index) static floatModelElementFace.getVValue(ModelElementFace.UV uv, AxisRotation rotation, int index) ModelVariant.ModelState.setRotationX(AxisRotation amount) ModelVariant.ModelState.setRotationY(AxisRotation amount) ModelVariant.ModelState.setRotationZ(AxisRotation amount) ModelVariant.withRotationX(AxisRotation amount) ModelVariant.withRotationY(AxisRotation amount) ModelVariant.withRotationZ(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)