mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-28 22:55:09 +02: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…
Add table
Reference in a new issue