Class ZombieSiegeManager

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

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

    • LOGGER

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

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

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

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

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

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

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

      private int startZ
      Mappings:
      Namespace Name Mixin selector
      official h Lbgy;h:I
      intermediary field_6719 Lnet/minecraft/class_1419;field_6719:I
      named startZ Lnet/minecraft/village/ZombieSiegeManager;startZ: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 Spawner
      Parameters:
      spawnMonsters - whether monsters should be spawned
      spawnAnimals - whether animals should be spawned
      Returns:
      the number of entities spawned
      Mappings:
      Namespace Name Mixin selector
      official a Lbzq;a(Ladi;ZZ)I
      intermediary method_6445 Lnet/minecraft/class_5304;method_6445(Lnet/minecraft/class_3218;ZZ)I
      named spawn Lnet/minecraft/world/gen/Spawner;spawn(Lnet/minecraft/server/world/ServerWorld;ZZ)I
    • spawn

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

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

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