net.minecraft.client.model.geom

public final class ModelPart

esv
net.minecraft.client.model.geom.ModelPart
net.minecraft.class_630
net.minecraft.client.model.ModelPart
net.minecraft.src.C_3889_

Field summary

Modifier and TypeField
public static final float
a
DEFAULT_SCALE
field_37937
field_37937
f_233552_
public float
b
x
field_3657
pivotX
f_104200_
public float
c
y
field_3656
pivotY
f_104201_
public float
d
z
field_3655
pivotZ
f_104202_
public float
e
xRot
field_3654
pitch
f_104203_
public float
f
yRot
field_3675
yaw
f_104204_
public float
g
zRot
field_3674
roll
f_104205_
public float
h
xScale
field_37938
xScale
f_233553_
public float
i
yScale
field_37939
yScale
f_233554_
public float
j
zScale
field_37940
zScale
f_233555_
public boolean
k
visible
field_3665
visible
f_104207_
public boolean
l
skipDraw
field_38456
hidden
f_233556_
private final List<ModelPart$Cube>
m
cubes
field_3663
cuboids
f_104212_
private final Map<String, ModelPart>
n
children
field_3661
children
f_104213_
private PartPose
o
initialPose
field_37941
defaultTransform
f_233557_

Constructor summary

ModifierConstructor
public (List<ModelPart$Cube> cuboids, Map<String, ModelPart> children)

Method summary

Modifier and TypeMethod
public PartPose
a()
storePose()
method_32084()
getTransform()
m_171308_()
public PartPose
b()
getInitialPose()
method_41921()
getDefaultTransform()
m_233566_()
public void
a(esx arg0)
setInitialPose(PartPose arg0)
method_41918(class_5603 arg0)
setDefaultTransform(ModelTransform transform)
m_233560_(C_141659_ arg0)
public void
c()
resetPose()
method_41923()
resetTransform()
m_233569_()
public void
b(esx arg0)
loadPose(PartPose arg0)
method_32085(class_5603 arg0)
setTransform(ModelTransform rotationData)
m_171322_(C_141659_ arg0)
public void
a(esv arg0)
copyFrom(ModelPart arg0)
method_17138(class_630 arg0)
copyTransform(ModelPart part)
m_104315_(C_3889_ arg0)
public boolean
a(String arg0)
hasChild(String arg0)
method_41919(String arg0)
hasChild(String child)
m_233562_(String arg0)
public ModelPart
b(String arg0)
getChild(String arg0)
method_32086(String arg0)
getChild(String name)
m_171324_(String arg0)
public void
a(float arg0, float arg1, float arg2)
setPos(float arg0, float arg1, float arg2)
method_2851(float arg0, float arg1, float arg2)
setPivot(float x, float y, float z)
m_104227_(float p_104229_, float p_104230_, float arg2)
public void
b(float arg0, float arg1, float arg2)
setRotation(float arg0, float arg1, float arg2)
method_33425(float arg0, float arg1, float arg2)
setAngles(float pitch, float yaw, float roll)
m_171327_(float p_171329_, float p_171330_, float arg2)
public void
a(dzt arg0, dzx arg1, int arg2, int arg3)
render(PoseStack arg0, VertexConsumer arg1, int arg2, int arg3)
method_22698(class_4587 arg0, class_4588 arg1, int arg2, int arg3)
render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)
m_104301_(C_3181_ p_104303_, C_3187_ p_104304_, int p_104305_, int arg3)
public void
a(dzt arg0, dzx arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7)
render(PoseStack arg0, VertexConsumer arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7)
method_22699(class_4587 arg0, class_4588 arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7)
render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha)
m_104306_(C_3181_ p_104308_, C_3187_ p_104309_, int p_104310_, int p_104311_, float p_104312_, float p_104313_, float p_104314_, float arg7)
public void
a(dzt arg0, esv$d arg1)
visit(PoseStack arg0, ModelPart$Visitor arg1)
method_35745(class_4587 arg0, class_630$class_6229 arg1)
forEachCuboid(MatrixStack matrices, ModelPart$CuboidConsumer consumer)
m_171309_(C_3181_ p_171311_, C_141657_ arg1)
private void
a(dzt arg0, esv$d arg1, String arg2)
visit(PoseStack arg0, ModelPart$Visitor arg1, String arg2)
method_35746(class_4587 arg0, class_630$class_6229 arg1, String arg2)
forEachCuboid(MatrixStack matrices, ModelPart$CuboidConsumer consumer, String path)
m_171312_(C_3181_ p_171314_, C_141657_ p_171315_, String arg2)
public void
a(dzt arg0)
translateAndRotate(PoseStack arg0)
method_22703(class_4587 arg0)
rotate(MatrixStack matrices)
m_104299_(C_3181_ arg0)
private void
a(dzt$a arg0, dzx arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7)
compile(PoseStack$Pose arg0, VertexConsumer arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7)
method_22702(class_4587$class_4665 arg0, class_4588 arg1, int arg2, int arg3, float arg4, float arg5, float arg6, float arg7)
renderCuboids(MatrixStack$Entry entry, VertexConsumer vertexConsumer, int light, int overlay, float red, float green, float blue, float alpha)
m_104290_(C_3183_ p_104292_, C_3187_ p_104293_, int p_104294_, int p_104295_, float p_104296_, float p_104297_, float p_104298_, float arg7)
public ModelPart$Cube
a(alu arg0)
getRandomCube(RandomSource arg0)
method_22700(class_5819 arg0)
getRandomCuboid(Random random)
m_233558_(C_212974_ arg0)
public boolean
d()
isEmpty()
method_32087()
isEmpty()
m_171326_()
public void
a(k arg0)
offsetPos(Vector3f arg0)
method_41920(class_1160 arg0)
translate(Vec3f vec3f)
m_233564_(C_4684_ arg0)
public void
b(k arg0)
offsetRotation(Vector3f arg0)
method_41922(class_1160 arg0)
rotate(Vec3f vec3f)
m_233567_(C_4684_ arg0)
public void
c(k arg0)
offsetScale(Vector3f arg0)
method_41924(class_1160 arg0)
scale(Vec3f vec3f)
m_233570_(C_4684_ arg0)
public Stream<ModelPart>
e()
getAllParts()
method_32088()
traverse()
m_171331_()