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 classZombieSiegeManager.State -
Field Summary
-
Constructor Summary
Constructors Constructor Description ZombieSiegeManager() -
Method Summary
Modifier and Type Method Description private Vec3dgetSpawnVector(ServerWorld world, BlockPos pos)private booleanspawn(ServerWorld world)intspawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)Spawns entities into a world.private voidtrySpawnZombie(ServerWorld world)
-
Field Details
-
LOGGER
-
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