diff --git a/patches/minecraft/net/minecraft/entity/Entity.java.patch b/patches/minecraft/net/minecraft/entity/Entity.java.patch index 40a8bc282..c120a7df7 100644 --- a/patches/minecraft/net/minecraft/entity/Entity.java.patch +++ b/patches/minecraft/net/minecraft/entity/Entity.java.patch @@ -103,7 +103,7 @@ public void func_70078_a(Entity p_70078_1_) { -+ if(!(this instanceof EntityLivingBase) && !net.minecraftforge.event.ForgeEventFactory.canMountEntity(this, p_70078_1_, true)){ return; } ++ if(!(this instanceof EntityLivingBase) && !net.minecraftforge.event.ForgeEventFactory.canMountEntity(this, p_70078_1_, true)){ return; } this.field_70149_e = 0.0D; this.field_70147_f = 0.0D; @@ -125,7 +125,7 @@ } public boolean func_174816_a(Explosion p_174816_1_, World p_174816_2_, BlockPos p_174816_3_, IBlockState p_174816_4_, float p_174816_5_) -@@ -2357,4 +2405,183 @@ +@@ -2357,4 +2405,184 @@ EnchantmentHelper.func_151385_b(p_174815_1_, p_174815_2_); } @@ -238,6 +238,7 @@ + */ + public boolean isCreatureType(EnumCreatureType type, boolean forSpawnCount) + { ++ if (forSpawnCount && (this instanceof EntityLiving) && ((EntityLiving)this).func_104002_bU()) return false; + return type.func_75598_a().isAssignableFrom(this.getClass()); + } +