diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2018-05-26 14:23:15 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2018-05-26 14:23:15 +1000 |
commit | c04dfc745ea5375a030629805e831a39e09671fb (patch) | |
tree | e134392dbae9bb1cb7d8be8a9e5409156800a5fa /src/Java/gtPlusPlus/core/client/model | |
parent | 6388f9b1e24ac2352ebb9ac1b18940d863e8199b (diff) | |
download | GT5-Unofficial-c04dfc745ea5375a030629805e831a39e09671fb.tar.gz GT5-Unofficial-c04dfc745ea5375a030629805e831a39e09671fb.tar.bz2 GT5-Unofficial-c04dfc745ea5375a030629805e831a39e09671fb.zip |
+ Made large chickens drop eggs under more relaxed circumstances. Children can lay normal eggs.
$ Fixed large chicken renderer.
$ Improved weight system of large eggs.
Diffstat (limited to 'src/Java/gtPlusPlus/core/client/model')
-rw-r--r-- | src/Java/gtPlusPlus/core/client/model/ModelGiantChicken.java | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/core/client/model/ModelGiantChicken.java b/src/Java/gtPlusPlus/core/client/model/ModelGiantChicken.java index c0f5f79018..f7fb92f550 100644 --- a/src/Java/gtPlusPlus/core/client/model/ModelGiantChicken.java +++ b/src/Java/gtPlusPlus/core/client/model/ModelGiantChicken.java @@ -50,33 +50,43 @@ public class ModelGiantChicken extends ModelChicken{ if (this.isChild) { - float f6 = 2.0F; + float f6 = 1.0F; GL11.glPushMatrix(); - GL11.glTranslatef(0.0F, 5.0F * p_78088_7_, 2.0F * p_78088_7_); + GL11.glTranslatef(0.0F, 0F, 0F); this.head.render(p_78088_7_); this.bill.render(p_78088_7_); this.chin.render(p_78088_7_); GL11.glPopMatrix(); GL11.glPushMatrix(); - GL11.glScalef(1.0F / f6, 1.0F / f6, 1.0F / f6); - GL11.glTranslatef(0.0F, 24.0F * p_78088_7_, 0.0F); + GL11.glScalef(1.0F * f6, 1.0F * f6, 1.0F * f6); + GL11.glTranslatef(0.0F, 0F, 0.0F); this.body.render(p_78088_7_); this.rightLeg.render(p_78088_7_); this.leftLeg.render(p_78088_7_); this.rightWing.render(p_78088_7_); this.leftWing.render(p_78088_7_); GL11.glPopMatrix(); + //super.render(p_78088_1_, p_78088_2_, p_78088_3_, p_78088_4_, p_78088_5_, p_78088_6_, p_78088_7_); } else { + float f6 = 2.0F; + GL11.glPushMatrix(); + GL11.glScalef(1.0F * f6, 1.0F * f6, 1.0F * f6); + GL11.glTranslatef(0.0F, -0.85F, 0F); this.head.render(p_78088_7_); this.bill.render(p_78088_7_); this.chin.render(p_78088_7_); + GL11.glPopMatrix(); + GL11.glPushMatrix(); + GL11.glScalef(1.0F * f6, 1.0F * f6, 1.0F * f6); + GL11.glTranslatef(0.0F, -0.75F, 0.0F); this.body.render(p_78088_7_); this.rightLeg.render(p_78088_7_); this.leftLeg.render(p_78088_7_); this.rightWing.render(p_78088_7_); this.leftWing.render(p_78088_7_); + GL11.glPopMatrix(); } } |