Class BlockElement
java.lang.Object
net.minecraft.client.renderer.block.model.BlockElement
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final booleanprivate ExtraFaceDatafinal Map<Direction, BlockElementFace> final org.joml.Vector3fprivate static final floatprivate static final floatfinal BlockElementRotationfinal booleanfinal org.joml.Vector3f -
Constructor Summary
ConstructorsConstructorDescriptionBlockElement(org.joml.Vector3f from, org.joml.Vector3f to, Map<Direction, BlockElementFace> faces, BlockElementRotation rotation, boolean shade) BlockElement(org.joml.Vector3f from, org.joml.Vector3f to, Map<Direction, BlockElementFace> faces, BlockElementRotation rotation, boolean shade, ExtraFaceData faceData) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidfillUvs()voidsetFaceData(ExtraFaceData faceData) float[]
-
Field Details
-
DEFAULT_RESCALE
private static final boolean DEFAULT_RESCALE- See Also:
-
MIN_EXTENT
private static final float MIN_EXTENT- See Also:
-
MAX_EXTENT
private static final float MAX_EXTENT- See Also:
-
from
public final org.joml.Vector3f from -
to
public final org.joml.Vector3f to -
faces
-
rotation
-
shade
public final boolean shade -
faceData
-
-
Constructor Details
-
BlockElement
public BlockElement(org.joml.Vector3f from, org.joml.Vector3f to, Map<Direction, BlockElementFace> faces, @Nullable BlockElementRotation rotation, boolean shade) -
BlockElement
public BlockElement(org.joml.Vector3f from, org.joml.Vector3f to, Map<Direction, BlockElementFace> faces, @Nullable BlockElementRotation rotation, boolean shade, ExtraFaceData faceData)
-
-
Method Details
-
fillUvs
private void fillUvs() -
uvsByFace
-
getFaceData
-
setFaceData
-