diff --git a/patches/minecraft/net/minecraft/block/Block.java.patch b/patches/minecraft/net/minecraft/block/Block.java.patch index 74444d124..3fc46da44 100644 --- a/patches/minecraft/net/minecraft/block/Block.java.patch +++ b/patches/minecraft/net/minecraft/block/Block.java.patch @@ -208,7 +208,7 @@ public SoundType func_185467_w() { return this.field_149762_H; -@@ -908,6 +934,1186 @@ +@@ -908,6 +934,1187 @@ { } @@ -1022,7 +1022,8 @@ + this != net.minecraft.init.Blocks.field_150411_aY && + this != net.minecraft.init.Blocks.field_185775_db; + } -+ else if (entity instanceof net.minecraft.entity.boss.EntityWither) ++ else if ((entity instanceof net.minecraft.entity.boss.EntityWither) || ++ (entity instanceof net.minecraft.entity.projectile.EntityWitherSkull)) + { + return net.minecraft.entity.boss.EntityWither.func_181033_a(this); + } @@ -1395,7 +1396,7 @@ public static void func_149671_p() { func_176215_a(0, field_176230_a, (new BlockAir()).func_149663_c("air")); -@@ -1201,14 +2407,7 @@ +@@ -1201,14 +2408,7 @@ } else { diff --git a/patches/minecraft/net/minecraft/entity/projectile/EntityWitherSkull.java.patch b/patches/minecraft/net/minecraft/entity/projectile/EntityWitherSkull.java.patch new file mode 100644 index 000000000..7a9cc9450 --- /dev/null +++ b/patches/minecraft/net/minecraft/entity/projectile/EntityWitherSkull.java.patch @@ -0,0 +1,11 @@ +--- ../src-base/minecraft/net/minecraft/entity/projectile/EntityWitherSkull.java ++++ ../src-work/minecraft/net/minecraft/entity/projectile/EntityWitherSkull.java +@@ -62,7 +62,7 @@ + float f = super.func_180428_a(p_180428_1_, p_180428_2_, p_180428_3_, p_180428_4_); + Block block = p_180428_4_.func_177230_c(); + +- if (this.func_82342_d() && EntityWither.func_181033_a(block)) ++ if (this.func_82342_d() && block.canEntityDestroy(p_180428_4_, p_180428_2_, p_180428_3_, this)) + { + f = Math.min(0.8F, f); + }