mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Zombie API - breaking doors
== AT == public net.minecraft.world.entity.monster.Zombie supportsBreakDoorGoal()Z
This commit is contained in:
parent
40789b9ca7
commit
b656aa3c21
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue