Class BlockElement
java.lang.Object
net.minecraft.client.renderer.block.model.BlockElement
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final boolean
private ExtraFaceData
final Map<Direction,
BlockElementFace> final org.joml.Vector3f
private static final float
private static final float
final BlockElementRotation
final boolean
final org.joml.Vector3f
-
Constructor Summary
ConstructorDescriptionBlockElement
(org.joml.Vector3f p_253626_, org.joml.Vector3f p_254426_, Map<Direction, BlockElementFace> p_254454_, BlockElementRotation p_254229_, boolean p_253661_) BlockElement
(org.joml.Vector3f p_253626_, org.joml.Vector3f p_254426_, Map<Direction, BlockElementFace> p_254454_, BlockElementRotation p_254229_, boolean p_253661_, ExtraFaceData faceData) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
fillUvs()
void
setFaceData
(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 p_253626_, org.joml.Vector3f p_254426_, Map<Direction, BlockElementFace> p_254454_, @Nullable BlockElementRotation p_254229_, boolean p_253661_) -
BlockElement
public BlockElement(org.joml.Vector3f p_253626_, org.joml.Vector3f p_254426_, Map<Direction, BlockElementFace> p_254454_, @Nullable BlockElementRotation p_254229_, boolean p_253661_, ExtraFaceData faceData)
-
-
Method Details
-
fillUvs
private void fillUvs() -
uvsByFace
-
getFaceData
-
setFaceData
-