Package net.minecraft.village
Class VillageSiege
java.lang.Object
net.minecraft.village.VillageSiege
- All Implemented Interfaces:
ISpecialSpawner
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private static final org.apache.logging.log4j.Logger
private int
private VillageSiege.State
private int
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Vector3d
findRandomSpawnPos
(ServerWorld p_225476_1_, BlockPos p_225476_2_) int
tick
(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_) private void
trySpawn
(ServerWorld p_75530_1_) private boolean
tryToSetupSiege
(ServerWorld p_75529_1_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
hasSetupSiege
private boolean hasSetupSiege -
siegeState
-
zombiesToSpawn
private int zombiesToSpawn -
nextSpawnTime
private int nextSpawnTime -
spawnX
private int spawnX -
spawnY
private int spawnY -
spawnZ
private int spawnZ
-
-
Constructor Details
-
VillageSiege
public VillageSiege()
-
-
Method Details
-
tick
- Specified by:
tick
in interfaceISpecialSpawner
-
tryToSetupSiege
-
trySpawn
-
findRandomSpawnPos
-