mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -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) {
|
public void setShouldBurnInDay(boolean shouldBurnInDay) {
|
||||||
getHandle().setShouldBurnInDay(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
|
// Paper end
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user