From c04dfc745ea5375a030629805e831a39e09671fb Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Sat, 26 May 2018 14:23:15 +1000 Subject: + Made large chickens drop eggs under more relaxed circumstances. Children can lay normal eggs. $ Fixed large chicken renderer. $ Improved weight system of large eggs. --- src/Java/gtPlusPlus/core/entity/monster/EntityGiantChickenBase.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Java/gtPlusPlus/core/entity') diff --git a/src/Java/gtPlusPlus/core/entity/monster/EntityGiantChickenBase.java b/src/Java/gtPlusPlus/core/entity/monster/EntityGiantChickenBase.java index 071b893527..4313b0cc45 100644 --- a/src/Java/gtPlusPlus/core/entity/monster/EntityGiantChickenBase.java +++ b/src/Java/gtPlusPlus/core/entity/monster/EntityGiantChickenBase.java @@ -84,13 +84,13 @@ public class EntityGiantChickenBase extends EntityChicken { this.field_70886_e += this.field_70889_i * 2.0F; - if (!this.worldObj.isRemote && !this.isChild() && !this.isChickenJockey() && --this.timeUntilNextEgg <= 0) + if (!this.worldObj.isRemote && --this.timeUntilNextEgg <= 0) { this.playSound("mob.chicken.plop", 1.0F, (this.rand.nextFloat() - this.rand.nextFloat()) * 0.2F + 1.0F); this.dropItem(Items.egg, 1); this.timeUntilNextEgg = this.rand.nextInt(6000) + 6000; } - if (!this.worldObj.isRemote && !this.isChild() && !this.isChickenJockey() && --this.timeUntilNextEgg <= 0) + if (!this.worldObj.isRemote && !this.isChild() && --this.timeUntilNextEgg <= 0) { this.playSound("mob.chicken.plop", 1.0F, (this.rand.nextFloat() - this.rand.nextFloat()) * 0.2F + 1.0F); this.dropItem(ModItems.itemBigEgg, MathUtils.randInt(1, 4)); @@ -254,7 +254,7 @@ public class EntityGiantChickenBase extends EntityChicken { @Override public float getRenderSizeModifier() { - return 1.5f; + return 1.0f; } @Override -- cgit