From 9deca13f20cdb1227c69955860487c2c201cdf5e Mon Sep 17 00:00:00 2001 From: Brendan Lewis Date: Mon, 17 Feb 2020 14:05:16 -0500 Subject: [PATCH] Attempts to fix Evolved Zombie #5 --- .../entity/evolvedzombie/EvolvedZombieModel.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/hrznstudio/galacticraft/entity/evolvedzombie/EvolvedZombieModel.java b/src/main/java/com/hrznstudio/galacticraft/entity/evolvedzombie/EvolvedZombieModel.java index b981000ca..9003282e0 100644 --- a/src/main/java/com/hrznstudio/galacticraft/entity/evolvedzombie/EvolvedZombieModel.java +++ b/src/main/java/com/hrznstudio/galacticraft/entity/evolvedzombie/EvolvedZombieModel.java @@ -24,12 +24,12 @@ import net.minecraft.client.model.Box; import net.minecraft.client.model.Model; -import net.minecraft.client.render.entity.model.ZombieEntityModel; +import net.minecraft.client.render.entity.model.BipedEntityModel; /** * @author StellarHorizons and made with the help of Blockbench */ -public class EvolvedZombieModel extends ZombieEntityModel { +public class EvolvedZombieModel extends BipedEntityModel { /** * Work in Progress. This model should work, but it refuses to show up :( @@ -69,8 +69,8 @@ public EvolvedZombieModel(float scale, int textureWidth, int textureHeight) { //this.leftArm.setRotationPoint(5.0F, 2.0F, 0.0F); this.leftArm.boxes.clear(); - //this.body.addChild(this.leftArm); - //this.leftArm.boxes.add(new Box(this.leftArm, 40, 16, -1.0F, -2.0F, -2.0F, 4, 12, 4, 0.0F, true)); + this.body.addChild(this.leftArm); + this.leftArm.boxes.add(new Box(this.leftArm, 40, 16, -1.0F, -2.0F, -2.0F, 4, 12, 4, 0.0F, true)); this.rightLeg.setRotationPoint(-1.9F, 12.0F, 0.0F); this.rightLeg.boxes.clear(); @@ -86,5 +86,6 @@ public EvolvedZombieModel(float scale, int textureWidth, int textureHeight) { @Override public void render(EvolvedZombieEntity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); + this.body.render(1F); } }