From b656aa3c21747acbd41fb26171dd8dc60b29f4cc Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Wed, 18 Nov 2020 11:32:46 -0800 Subject: [PATCH] Zombie API - breaking doors == AT == public net.minecraft.world.entity.monster.Zombie supportsBreakDoorGoal()Z --- .../main/java/org/bukkit/craftbukkit/entity/CraftZombie.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java index 4412c91312..dfc2b40e20 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java @@ -122,6 +122,11 @@ public class CraftZombie extends CraftMonster implements Zombie { public void setShouldBurnInDay(boolean shouldBurnInDay) { getHandle().setShouldBurnInDay(shouldBurnInDay); } + + @Override + public boolean supportsBreakingDoors() { + return true; // All zombies are now capable of breaking doors, see https://bugs.mojang.com/browse/MC-137053 + } // Paper end @Override