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/entity | |
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/entity')
-rw-r--r-- | src/Java/gtPlusPlus/core/entity/monster/EntityGiantChickenBase.java | 6 |
1 files changed, 3 insertions, 3 deletions
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 |