public class VillageSiege
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
VillageSiege.State |
Modifier and Type | Field and Description |
---|---|
private boolean |
hasSetupSiege |
private int |
nextSpawnTime |
private int |
siegeCount |
private VillageSiege.State |
siegeState |
private int |
spawnX |
private int |
spawnY |
private int |
spawnZ |
Constructor and Description |
---|
VillageSiege() |
Modifier and Type | Method and Description |
---|---|
private Vec3d |
findRandomSpawnPos(ServerWorld p_225476_1_,
BlockPos p_225476_2_) |
private void |
spawnZombie(ServerWorld p_75530_1_) |
int |
tick(ServerWorld p_225477_1_,
boolean p_225477_2_,
boolean p_225477_3_) |
private boolean |
trySetupSiege(ServerWorld p_75529_1_) |
private boolean hasSetupSiege
private VillageSiege.State siegeState
private int siegeCount
private int nextSpawnTime
private int spawnX
private int spawnY
private int spawnZ
public int tick(ServerWorld p_225477_1_, boolean p_225477_2_, boolean p_225477_3_)
private boolean trySetupSiege(ServerWorld p_75529_1_)
private void spawnZombie(ServerWorld p_75530_1_)
@Nullable private Vec3d findRandomSpawnPos(ServerWorld p_225476_1_, BlockPos p_225476_2_)