mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-05 23:21:38 +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
@ -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 New Issue
Block a user