Uses of Record Class
net.minecraft.client.renderer.block.model.BlockElementRotation
Packages that use BlockElementRotation
Package
Description
-
Uses of BlockElementRotation in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as BlockElementRotationModifier and TypeFieldDescriptionprivate final @Nullable BlockElementRotationBlockElement.rotationThe field for therotationrecord component.Methods in net.minecraft.client.renderer.block.model that return BlockElementRotationModifier and TypeMethodDescriptionprivate @Nullable BlockElementRotationBlockElement.Deserializer.getRotation(JsonObject json) @Nullable BlockElementRotationBlockElement.rotation()Returns the value of therotationrecord component.Methods in net.minecraft.client.renderer.block.model with parameters of type BlockElementRotationModifier and TypeMethodDescriptionstatic BakedQuadFaceBakery.bakeQuad(ModelBaker.PartCache partCache, Vector3fc posFrom, Vector3fc posTo, BlockElementFace face, TextureAtlasSprite sprite, Direction facing, ModelState modelState, @Nullable BlockElementRotation rotation, boolean shade, int lightEmission) private static voidFaceBakery.bakeVertex(int vertexIndex, FaceInfo faceInfo, BlockElementFace.UVs uvs, Quadrant faceRotation, Matrix4fc inverseFaceTransform, Vector3fc posFrom, Vector3fc posTo, TextureAtlasSprite sprite, Transformation transformation, @Nullable BlockElementRotation rotation, Vector3fc[] positions, long[] packedUVs, ModelBaker.PartCache partCache) Constructors in net.minecraft.client.renderer.block.model with parameters of type BlockElementRotationModifierConstructorDescriptionBlockElement(Vector3fc from, Vector3fc to, Map<Direction, BlockElementFace> faces, @Nullable BlockElementRotation rotation, boolean shade, int lightEmission) BlockElement(Vector3fc from, Vector3fc to, Map<Direction, BlockElementFace> faces, @Nullable BlockElementRotation rotation, boolean shade, int lightEmission, ExtraFaceData faceData) Creates an instance of aBlockElementrecord class. -
Uses of BlockElementRotation in net.neoforged.neoforge.client.model.generators.template
Methods in net.neoforged.neoforge.client.model.generators.template that return BlockElementRotation