Uses of Enum Class
net.minecraft.util.math.Rotation
Packages that use Rotation
Package
Description
-
Uses of Rotation in net.minecraft.client.render.model
Fields in net.minecraft.client.render.model declared as RotationModifier and TypeFieldDescriptionprivate final RotationModelRotation.xRotationprivate final RotationModelRotation.yRotationMethods in net.minecraft.client.render.model with parameters of type RotationModifier and TypeMethodDescriptionprivate static voidBakedQuadFactory.packVertexData(int[] int2, int cornerIndex, CubeFace cubeFace, ModelElementFace.UV texture, Rotation rotation, Matrix4fc matrix4fc, float[] float2, Sprite sprite, AffineTransformation affineTransformation, @Nullable ModelRotation modelRotation) private static int[]BakedQuadFactory.packVertexData(ModelElementFace.UV texture, Rotation rotation, Matrix4fc matrix4fc, Sprite sprite, Direction facing, float[] float2, AffineTransformation transform, @Nullable ModelRotation modelRotation) static ModelRotationConstructors in net.minecraft.client.render.model with parameters of type Rotation -
Uses of Rotation in net.minecraft.client.render.model.json
Fields in net.minecraft.client.render.model.json declared as RotationModifier and TypeFieldDescriptionprivate final RotationModelElementFace.rotationThe field for therotationrecord component.private final RotationModelVariant.VariantType.xThe field for thexrecord component.private final RotationModelVariant.VariantType.yThe field for theyrecord component.Fields in net.minecraft.client.render.model.json with type parameters of type RotationModifier and TypeFieldDescriptionstatic final ModelVariants.Settings<Rotation> ModelVariants.ROTATION_Xstatic final ModelVariants.Settings<Rotation> ModelVariants.ROTATION_YMethods in net.minecraft.client.render.model.json that return RotationModifier and TypeMethodDescriptionprivate static RotationModelElementFace.Deserializer.getRotation(JsonObject jsonObject) ModelElementFace.rotation()Returns the value of therotationrecord component.ModelVariant.VariantType.x()Returns the value of thexrecord component.ModelVariant.VariantType.y()Returns the value of theyrecord component.Methods in net.minecraft.client.render.model.json with parameters of type RotationModifier and TypeMethodDescriptionstatic floatModelElementFace.getUValue(ModelElementFace.UV uV, Rotation rotation, int int2) static floatModelElementFace.getVValue(ModelElementFace.UV uV, Rotation rotation, int int2) ModelVariant.VariantType.setRotationX(Rotation amount) ModelVariant.VariantType.setRotationY(Rotation amount) ModelVariant.withRotationX(Rotation amount) ModelVariant.withRotationY(Rotation amount) Constructors in net.minecraft.client.render.model.json with parameters of type RotationModifierConstructorDescriptionModelElementFace(@Nullable Direction cullFace, int tintIndex, String textureId, @Nullable ModelElementFace.UV textureData, Rotation rotation) VariantType(Rotation rotation, Rotation rotation2, boolean bool) -
Uses of Rotation in net.minecraft.util.math
Fields in net.minecraft.util.math with type parameters of type RotationModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Rotation> Rotation.CODECMethods in net.minecraft.util.math that return RotationModifier and TypeMethodDescriptionstatic RotationRotation.fromDegrees(int value) Deprecated.static RotationReturns the enum constant of this class with the specified name.static Rotation[]Rotation.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 RotationModifier and TypeMethodDescriptionstatic DirectionTransformationDirectionTransformation.fromRotations(Rotation x, Rotation y)