Package net.minecraft.client.model.geom
Class ModelPart
java.lang.Object
net.minecraft.client.model.geom.ModelPart
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static class
(package private) static class
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
compile(PoseStack.Pose p_104291_, VertexConsumer p_104292_, int p_104293_, int p_104294_, float p_104295_, float p_104296_, float p_104297_, float p_104298_)
void
getRandomCube(Random p_104329_)
boolean
isEmpty()
void
void
render(PoseStack p_104302_, VertexConsumer p_104303_, int p_104304_, int p_104305_)
void
render(PoseStack p_104307_, VertexConsumer p_104308_, int p_104309_, int p_104310_, float p_104311_, float p_104312_, float p_104313_, float p_104314_)
void
setPos(float p_104228_, float p_104229_, float p_104230_)
void
setRotation(float p_171328_, float p_171329_, float p_171330_)
void
translateAndRotate(PoseStack p_104300_)
void
visit(PoseStack p_171310_, ModelPart.Visitor p_171311_)
private void
visit(PoseStack p_171313_, ModelPart.Visitor p_171314_, String p_171315_)
-
Field Details
-
x
public float x -
y
public float y -
z
public float z -
xRot
public float xRot -
yRot
public float yRot -
zRot
public float zRot -
visible
public boolean visible -
cubes
-
children
-
-
Constructor Details
-
ModelPart
-
-
Method Details
-
storePose
-
loadPose
-
copyFrom
-
getChild
-
setPos
public void setPos(float p_104228_, float p_104229_, float p_104230_) -
setRotation
public void setRotation(float p_171328_, float p_171329_, float p_171330_) -
render
-
render
public void render(PoseStack p_104307_, VertexConsumer p_104308_, int p_104309_, int p_104310_, float p_104311_, float p_104312_, float p_104313_, float p_104314_) -
visit
-
visit
-
translateAndRotate
-
compile
private void compile(PoseStack.Pose p_104291_, VertexConsumer p_104292_, int p_104293_, int p_104294_, float p_104295_, float p_104296_, float p_104297_, float p_104298_) -
getRandomCube
-
isEmpty
public boolean isEmpty() -
getAllParts
-