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 Vector3ffinal intprivate static final floatprivate static final floatfinal BlockElementRotationfinal booleanfinal Vector3f -
Constructor Summary
ConstructorsConstructorDescriptionBlockElement(Vector3f pFrom, Vector3f pTo, Map<Direction, BlockElementFace> pFaces) BlockElement(Vector3f pFrom, Vector3f pTo, Map<Direction, BlockElementFace> pFaces, BlockElementRotation pRotation, boolean pShade, int pLightEmission) BlockElement(Vector3f pFrom, Vector3f pTo, Map<Direction, BlockElementFace> pFaces, BlockElementRotation pRotation, boolean pShade, int pLightEmission, 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
-
to
-
faces
-
rotation
-
shade
public final boolean shade -
lightEmission
public final int lightEmission -
faceData
-
-
Constructor Details
-
BlockElement
-
BlockElement
public BlockElement(Vector3f pFrom, Vector3f pTo, Map<Direction, BlockElementFace> pFaces, @Nullable BlockElementRotation pRotation, boolean pShade, int pLightEmission) -
BlockElement
public BlockElement(Vector3f pFrom, Vector3f pTo, Map<Direction, BlockElementFace> pFaces, @Nullable BlockElementRotation pRotation, boolean pShade, int pLightEmission, ExtraFaceData faceData)
-
-
Method Details
-
fillUvs
private void fillUvs() -
uvsByFace
-
getFaceData
-
setFaceData
-