Class BlockPart
- java.lang.Object
-
- net.minecraft.client.renderer.model.BlockPart
-
public class BlockPart extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockPart.Deserializer
-
Field Summary
Fields Modifier and Type Field Description java.util.Map<Direction,BlockPartFace>
faces
Vector3f
from
BlockPartRotation
rotation
boolean
shade
Vector3f
to
-
Constructor Summary
Constructors Constructor 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_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
fillUvs()
float[]
uvsByFace(Direction p_178236_1_)
-
-
-
Field Detail
-
from
public final Vector3f from
-
to
public final Vector3f to
-
faces
public final java.util.Map<Direction,BlockPartFace> faces
-
rotation
public final BlockPartRotation rotation
-
shade
public final boolean shade
-
-
Constructor Detail
-
BlockPart
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_)
-
-
Method Detail
-
fillUvs
private void fillUvs()
-
uvsByFace
public float[] uvsByFace(Direction p_178236_1_)
-
-