public class BlockPart
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BlockPart.Deserializer |
Modifier and Type | Field and Description |
---|---|
java.util.Map<Direction,BlockPartFace> |
mapFaces |
BlockPartRotation |
partRotation |
Vector3f |
positionFrom |
Vector3f |
positionTo |
boolean |
shade |
Constructor and Description |
---|
BlockPart(Vector3f p_i47624_1_,
Vector3f p_i47624_2_,
java.util.Map<Direction,BlockPartFace> p_i47624_3_,
BlockPartRotation p_i47624_4_,
boolean p_i47624_5_) |
Modifier and Type | Method and Description |
---|---|
float[] |
getFaceUvs(Direction facing) |
private void |
setDefaultUvs() |
public final Vector3f positionFrom
public final Vector3f positionTo
public final java.util.Map<Direction,BlockPartFace> mapFaces
public final BlockPartRotation partRotation
public final boolean shade
public BlockPart(Vector3f p_i47624_1_, Vector3f p_i47624_2_, java.util.Map<Direction,BlockPartFace> p_i47624_3_, @Nullable BlockPartRotation p_i47624_4_, boolean p_i47624_5_)
private void setDefaultUvs()
public float[] getFaceUvs(Direction facing)