Class ZombieSiegeManager

java.lang.Object
net.minecraft.village.ZombieSiegeManager
All Implemented Interfaces:
SpecialSpawner

public class ZombieSiegeManager extends Object implements SpecialSpawner
Mappings:
Namespace Name
named net/minecraft/village/ZombieSiegeManager
intermediary net/minecraft/class_1419
official chh
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/village/ZombieSiegeManager;LOGGER:Lorg/slf4j/Logger;
      intermediary field_26390 Lnet/minecraft/class_1419;field_26390:Lorg/slf4j/Logger;
      official a Lchh;a:Lorg/slf4j/Logger;
    • spawned

      private boolean spawned
      Mappings:
      Namespace Name Mixin selector
      named spawned Lnet/minecraft/village/ZombieSiegeManager;spawned:Z
      intermediary field_6725 Lnet/minecraft/class_1419;field_6725:Z
      official b Lchh;b:Z
    • state

      private ZombieSiegeManager.State state
      Mappings:
      Namespace Name Mixin selector
      named state Lnet/minecraft/village/ZombieSiegeManager;state:Lnet/minecraft/village/ZombieSiegeManager$State;
      intermediary field_18479 Lnet/minecraft/class_1419;field_18479:Lnet/minecraft/class_1419$class_4152;
      official c Lchh;c:Lchh$a;
    • remaining

      private int remaining
      Mappings:
      Namespace Name Mixin selector
      named remaining Lnet/minecraft/village/ZombieSiegeManager;remaining:I
      intermediary field_6723 Lnet/minecraft/class_1419;field_6723:I
      official d Lchh;d:I
    • countdown

      private int countdown
      Mappings:
      Namespace Name Mixin selector
      named countdown Lnet/minecraft/village/ZombieSiegeManager;countdown:I
      intermediary field_6722 Lnet/minecraft/class_1419;field_6722:I
      official e Lchh;e:I
    • startX

      private int startX
      Mappings:
      Namespace Name Mixin selector
      named startX Lnet/minecraft/village/ZombieSiegeManager;startX:I
      intermediary field_6721 Lnet/minecraft/class_1419;field_6721:I
      official f Lchh;f:I
    • startY

      private int startY
      Mappings:
      Namespace Name Mixin selector
      named startY Lnet/minecraft/village/ZombieSiegeManager;startY:I
      intermediary field_6720 Lnet/minecraft/class_1419;field_6720:I
      official g Lchh;g:I
    • startZ

      private int startZ
      Mappings:
      Namespace Name Mixin selector
      named startZ Lnet/minecraft/village/ZombieSiegeManager;startZ:I
      intermediary field_6719 Lnet/minecraft/class_1419;field_6719:I
      official h Lchh;h:I
  • Constructor Details

    • ZombieSiegeManager

      public ZombieSiegeManager()
  • Method Details

    • spawn

      public int spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)
      Spawns entities into a world.
      Specified by:
      spawn in interface SpecialSpawner
      Parameters:
      spawnMonsters - whether monsters should be spawned
      spawnAnimals - whether animals should be spawned
      Returns:
      the number of entities spawned
      Mappings:
      Namespace Name Mixin selector
      named spawn Lnet/minecraft/world/spawner/SpecialSpawner;spawn(Lnet/minecraft/server/world/ServerWorld;ZZ)I
      intermediary method_6445 Lnet/minecraft/class_5304;method_6445(Lnet/minecraft/class_3218;ZZ)I
      official a Ldgt;a(Lash;ZZ)I
    • spawn

      private boolean spawn(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named spawn Lnet/minecraft/village/ZombieSiegeManager;spawn(Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_6446 Lnet/minecraft/class_1419;method_6446(Lnet/minecraft/class_3218;)Z
      official a Lchh;a(Lash;)Z
    • trySpawnZombie

      private void trySpawnZombie(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named trySpawnZombie Lnet/minecraft/village/ZombieSiegeManager;trySpawnZombie(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_6447 Lnet/minecraft/class_1419;method_6447(Lnet/minecraft/class_3218;)V
      official b Lchh;b(Lash;)V
    • getSpawnVector

      @Nullable private @Nullable Vec3d getSpawnVector(ServerWorld world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named getSpawnVector Lnet/minecraft/village/ZombieSiegeManager;getSpawnVector(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Vec3d;
      intermediary method_6448 Lnet/minecraft/class_1419;method_6448(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243;
      official a Lchh;a(Lash;Ljh;)Lfbx;