mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 16:12:18 -07:00
Zombie API - breaking doors
== AT == public net.minecraft.world.entity.monster.Zombie supportsBreakDoorGoal()Z
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user