Package net.minecraft.village
Class ZombieSiegeManager
java.lang.Object
net.minecraft.village.ZombieSiegeManager
- All Implemented Interfaces:
Spawner
public class ZombieSiegeManager extends Object implements Spawner
- Mappings:
Namespace Name official bbpintermediary net/minecraft/class_1419named net/minecraft/village/ZombieSiegeManager
-
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 @Nullable 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
- Mappings:
Namespace Name Mixin selector official aLbbp;a:Lorg/apache/logging/log4j/Logger;intermediary field_26390Lnet/minecraft/class_1419;field_26390:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/village/ZombieSiegeManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
spawned
private boolean spawned- Mappings:
Namespace Name Mixin selector official bLbbp;b:Zintermediary field_6725Lnet/minecraft/class_1419;field_6725:Znamed spawnedLnet/minecraft/village/ZombieSiegeManager;spawned:Z
-
state
- Mappings:
Namespace Name Mixin selector official cLbbp;c:Lbbp$a;intermediary field_18479Lnet/minecraft/class_1419;field_18479:Lnet/minecraft/class_1419$class_4152;named stateLnet/minecraft/village/ZombieSiegeManager;state:Lnet/minecraft/village/ZombieSiegeManager$State;
-
remaining
private int remaining- Mappings:
Namespace Name Mixin selector official dLbbp;d:Iintermediary field_6723Lnet/minecraft/class_1419;field_6723:Inamed remainingLnet/minecraft/village/ZombieSiegeManager;remaining:I
-
countdown
private int countdown- Mappings:
Namespace Name Mixin selector official eLbbp;e:Iintermediary field_6722Lnet/minecraft/class_1419;field_6722:Inamed countdownLnet/minecraft/village/ZombieSiegeManager;countdown:I
-
startX
private int startX- Mappings:
Namespace Name Mixin selector official fLbbp;f:Iintermediary field_6721Lnet/minecraft/class_1419;field_6721:Inamed startXLnet/minecraft/village/ZombieSiegeManager;startX:I
-
startY
private int startY- Mappings:
Namespace Name Mixin selector official gLbbp;g:Iintermediary field_6720Lnet/minecraft/class_1419;field_6720:Inamed startYLnet/minecraft/village/ZombieSiegeManager;startY:I
-
startZ
private int startZ- Mappings:
Namespace Name Mixin selector official hLbbp;h:Iintermediary field_6719Lnet/minecraft/class_1419;field_6719:Inamed startZLnet/minecraft/village/ZombieSiegeManager;startZ:I
-
-
Constructor Details
-
ZombieSiegeManager
public ZombieSiegeManager()
-
-
Method Details
-
spawn
Spawns entities into a world.- Specified by:
spawnin interfaceSpawner- Parameters:
spawnMonsters- whether monsters should be spawnedspawnAnimals- whether animals should be spawned- Returns:
- the number of entities spawned
- Mappings:
Namespace Name Mixin selector official aLbuc;a(Labf;ZZ)Iintermediary method_6445Lnet/minecraft/class_5304;method_6445(Lnet/minecraft/class_3218;ZZ)Inamed spawnLnet/minecraft/world/gen/Spawner;spawn(Lnet/minecraft/server/world/ServerWorld;ZZ)I
-
spawn
- Mappings:
Namespace Name Mixin selector official aLbbp;a(Labf;)Zintermediary method_6446Lnet/minecraft/class_1419;method_6446(Lnet/minecraft/class_3218;)Znamed spawnLnet/minecraft/village/ZombieSiegeManager;spawn(Lnet/minecraft/server/world/ServerWorld;)Z
-
trySpawnZombie
- Mappings:
Namespace Name Mixin selector official bLbbp;b(Labf;)Vintermediary method_6447Lnet/minecraft/class_1419;method_6447(Lnet/minecraft/class_3218;)Vnamed trySpawnZombieLnet/minecraft/village/ZombieSiegeManager;trySpawnZombie(Lnet/minecraft/server/world/ServerWorld;)V
-
getSpawnVector
- Mappings:
Namespace Name Mixin selector official aLbbp;a(Labf;Lfx;)Ldkn;intermediary method_6448Lnet/minecraft/class_1419;method_6448(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243;named getSpawnVectorLnet/minecraft/village/ZombieSiegeManager;getSpawnVector(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Vec3d;
-