13
0
geforkt von Mirrors/Paper

Zombie API - breaking doors

== AT ==
public net.minecraft.world.entity.monster.Zombie supportsBreakDoorGoal()Z
Dieser Commit ist enthalten in:
Jake Potrebic 2020-11-18 11:32:46 -08:00
Ursprung 40789b9ca7
Commit b656aa3c21

Datei anzeigen

@ -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