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 BlockElementRotation
BlockElement.rotation
The field for therotation
record component.Methods in net.minecraft.client.renderer.block.model that return BlockElementRotationModifier and TypeMethodDescriptionprivate BlockElementRotation
BlockElement.Deserializer.getRotation
(JsonObject pJson) BlockElement.rotation()
Returns the value of therotation
record component.Methods in net.minecraft.client.renderer.block.model with parameters of type BlockElementRotationModifier and TypeMethodDescriptionprivate static void
FaceBakery.applyElementRotation
(org.joml.Vector3f pVec, BlockElementRotation pPartRotation) static BakedQuad
FaceBakery.bakeQuad
(org.joml.Vector3fc pPosFrom, org.joml.Vector3fc pPosTo, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pModelState, BlockElementRotation pRotation, boolean pShade, int pLightEmission) private static void
FaceBakery.bakeVertex
(int[] pVertexData, int pVertexIndex, FaceInfo pFaceInfo, BlockElementFace.UVs pUvs, Quadrant pRotation, org.joml.Matrix4fc pInverseFaceTransform, float[] pShape, TextureAtlasSprite pSprite, Transformation pTransformation, BlockElementRotation pPartRotation) private static int[]
FaceBakery.makeVertices
(BlockElementFace.UVs pUvs, Quadrant pRotation, org.joml.Matrix4fc pInverseFaceTransform, TextureAtlasSprite pSprite, Direction pFacing, float[] pShape, Transformation pTransformation, BlockElementRotation pPartRotation) Constructors in net.minecraft.client.renderer.block.model with parameters of type BlockElementRotationModifierConstructorDescriptionBlockElement
(org.joml.Vector3fc from, org.joml.Vector3fc to, Map<Direction, BlockElementFace> faces, BlockElementRotation rotation, boolean shade, int lightEmission) BlockElement
(org.joml.Vector3fc from, org.joml.Vector3fc to, Map<Direction, BlockElementFace> faces, BlockElementRotation rotation, boolean shade, int lightEmission, ExtraFaceData faceData) Creates an instance of aBlockElement
record class. -
Uses of BlockElementRotation in net.neoforged.neoforge.client.model.generators.template
Methods in net.neoforged.neoforge.client.model.generators.template that return BlockElementRotation