Package net.minecraft.village
Class ZombieSiegeManager
java.lang.Object
net.minecraft.village.ZombieSiegeManager
- All Implemented Interfaces:
Spawner
public class ZombieSiegeManager extends Object implements Spawner
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ZombieSiegeManager.State
-
Field Summary
Fields Modifier and Type Field Description private int
countdown
private static Logger
field_26390
private int
remaining
private boolean
spawned
private int
startX
private int
startY
private int
startZ
private ZombieSiegeManager.State
state
-
Constructor Summary
Constructors Constructor Description ZombieSiegeManager()
-
Method Summary
Modifier and Type Method Description private Vec3d
getSpawnVector(ServerWorld world, BlockPos pos)
private boolean
spawn(ServerWorld world)
int
spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)
Spawns entities into a world.private void
trySpawnZombie(ServerWorld world)
-
Field Details
-
field_26390
-
spawned
private boolean spawned -
state
-
remaining
private int remaining -
countdown
private int countdown -
startX
private int startX -
startY
private int startY -
startZ
private int startZ
-
-
Constructor Details
-
ZombieSiegeManager
public ZombieSiegeManager()
-
-
Method Details