Class ModelRenderer
java.lang.Object
net.minecraft.client.renderer.model.ModelRenderer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectList<ModelRenderer>
private final it.unimi.dsi.fastutil.objects.ObjectList<ModelRenderer.ModelBox>
boolean
boolean
float
float
private int
private float
float
float
private int
private float
float
float
-
Constructor Summary
ModifierConstructorDescriptionprivate
ModelRenderer
(int p_i225949_1_, int p_i225949_2_, int p_i225949_3_, int p_i225949_4_) ModelRenderer
(Model p_i1173_1_) ModelRenderer
(Model p_i46358_1_, int p_i46358_2_, int p_i46358_3_) -
Method Summary
Modifier and TypeMethodDescriptionaddBox
(float p_228300_1_, float p_228300_2_, float p_228300_3_, float p_228300_4_, float p_228300_5_, float p_228300_6_) addBox
(float p_228304_1_, float p_228304_2_, float p_228304_3_, float p_228304_4_, float p_228304_5_, float p_228304_6_, boolean p_228304_7_) void
addBox
(float p_228301_1_, float p_228301_2_, float p_228301_3_, float p_228301_4_, float p_228301_5_, float p_228301_6_, float p_228301_7_) void
addBox
(float p_228303_1_, float p_228303_2_, float p_228303_3_, float p_228303_4_, float p_228303_5_, float p_228303_6_, float p_228303_7_, boolean p_228303_8_) void
addBox
(float p_228302_1_, float p_228302_2_, float p_228302_3_, float p_228302_4_, float p_228302_5_, float p_228302_6_, float p_228302_7_, float p_228302_8_, float p_228302_9_) private void
addBox
(int p_228305_1_, int p_228305_2_, float p_228305_3_, float p_228305_4_, float p_228305_5_, float p_228305_6_, float p_228305_7_, float p_228305_8_, float p_228305_9_, float p_228305_10_, float p_228305_11_, boolean p_228305_12_, boolean p_228305_13_) addBox
(String p_217178_1_, float p_217178_2_, float p_217178_3_, float p_217178_4_, int p_217178_5_, int p_217178_6_, int p_217178_7_, float p_217178_8_, int p_217178_9_, int p_217178_10_) void
addChild
(ModelRenderer p_78792_1_) private void
compile
(MatrixStack.Entry p_228306_1_, IVertexBuilder p_228306_2_, int p_228306_3_, int p_228306_4_, float p_228306_5_, float p_228306_6_, float p_228306_7_, float p_228306_8_) void
copyFrom
(ModelRenderer p_217177_1_) getRandomCube
(Random p_228310_1_) void
render
(MatrixStack p_228308_1_, IVertexBuilder p_228308_2_, int p_228308_3_, int p_228308_4_) void
render
(MatrixStack p_228309_1_, IVertexBuilder p_228309_2_, int p_228309_3_, int p_228309_4_, float p_228309_5_, float p_228309_6_, float p_228309_7_, float p_228309_8_) void
setPos
(float p_78793_1_, float p_78793_2_, float p_78793_3_) setTexSize
(int p_78787_1_, int p_78787_2_) texOffs
(int p_78784_1_, int p_78784_2_) void
translateAndRotate
(MatrixStack p_228307_1_)
-
Field Details
-
xTexSize
private float xTexSize -
yTexSize
private float yTexSize -
xTexOffs
private int xTexOffs -
yTexOffs
private int yTexOffs -
x
public float x -
y
public float y -
z
public float z -
xRot
public float xRot -
yRot
public float yRot -
zRot
public float zRot -
mirror
public boolean mirror -
visible
public boolean visible -
cubes
-
children
-
-
Constructor Details
-
ModelRenderer
-
ModelRenderer
-
ModelRenderer
public ModelRenderer(int p_i225949_1_, int p_i225949_2_, int p_i225949_3_, int p_i225949_4_) -
ModelRenderer
private ModelRenderer()
-
-
Method Details
-
createShallowCopy
-
copyFrom
-
addChild
-
texOffs
-
addBox
public ModelRenderer addBox(String p_217178_1_, float p_217178_2_, float p_217178_3_, float p_217178_4_, int p_217178_5_, int p_217178_6_, int p_217178_7_, float p_217178_8_, int p_217178_9_, int p_217178_10_) -
addBox
public ModelRenderer addBox(float p_228300_1_, float p_228300_2_, float p_228300_3_, float p_228300_4_, float p_228300_5_, float p_228300_6_) -
addBox
public ModelRenderer addBox(float p_228304_1_, float p_228304_2_, float p_228304_3_, float p_228304_4_, float p_228304_5_, float p_228304_6_, boolean p_228304_7_) -
addBox
public void addBox(float p_228301_1_, float p_228301_2_, float p_228301_3_, float p_228301_4_, float p_228301_5_, float p_228301_6_, float p_228301_7_) -
addBox
public void addBox(float p_228302_1_, float p_228302_2_, float p_228302_3_, float p_228302_4_, float p_228302_5_, float p_228302_6_, float p_228302_7_, float p_228302_8_, float p_228302_9_) -
addBox
public void addBox(float p_228303_1_, float p_228303_2_, float p_228303_3_, float p_228303_4_, float p_228303_5_, float p_228303_6_, float p_228303_7_, boolean p_228303_8_) -
addBox
private void addBox(int p_228305_1_, int p_228305_2_, float p_228305_3_, float p_228305_4_, float p_228305_5_, float p_228305_6_, float p_228305_7_, float p_228305_8_, float p_228305_9_, float p_228305_10_, float p_228305_11_, boolean p_228305_12_, boolean p_228305_13_) -
setPos
public void setPos(float p_78793_1_, float p_78793_2_, float p_78793_3_) -
render
public void render(MatrixStack p_228308_1_, IVertexBuilder p_228308_2_, int p_228308_3_, int p_228308_4_) -
render
public void render(MatrixStack p_228309_1_, IVertexBuilder p_228309_2_, int p_228309_3_, int p_228309_4_, float p_228309_5_, float p_228309_6_, float p_228309_7_, float p_228309_8_) -
translateAndRotate
-
compile
private void compile(MatrixStack.Entry p_228306_1_, IVertexBuilder p_228306_2_, int p_228306_3_, int p_228306_4_, float p_228306_5_, float p_228306_6_, float p_228306_7_, float p_228306_8_) -
setTexSize
-
getRandomCube
-