public class BlockPart
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BlockPart.Deserializer |
Modifier and Type | Field and Description |
---|---|
java.util.Map<EnumFacing,BlockPartFace> |
mapFaces |
BlockPartRotation |
partRotation |
org.lwjgl.util.vector.Vector3f |
positionFrom |
org.lwjgl.util.vector.Vector3f |
positionTo |
boolean |
shade |
Constructor and Description |
---|
BlockPart(org.lwjgl.util.vector.Vector3f positionFromIn,
org.lwjgl.util.vector.Vector3f positionToIn,
java.util.Map<EnumFacing,BlockPartFace> mapFacesIn,
BlockPartRotation partRotationIn,
boolean shadeIn) |
Modifier and Type | Method and Description |
---|---|
private float[] |
getFaceUvs(EnumFacing facing) |
private void |
setDefaultUvs() |
public final org.lwjgl.util.vector.Vector3f positionFrom
public final org.lwjgl.util.vector.Vector3f positionTo
public final java.util.Map<EnumFacing,BlockPartFace> mapFaces
public final BlockPartRotation partRotation
public final boolean shade
public BlockPart(org.lwjgl.util.vector.Vector3f positionFromIn, org.lwjgl.util.vector.Vector3f positionToIn, java.util.Map<EnumFacing,BlockPartFace> mapFacesIn, @Nullable BlockPartRotation partRotationIn, boolean shadeIn)
private void setDefaultUvs()
private float[] getFaceUvs(EnumFacing facing)