Class ZombieSiegeManager

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

public class ZombieSiegeManager extends Object implements Spawner
Mappings:
Namespace Name
official bqr
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 Lbqr;a:Lorg/slf4j/Logger;
      intermediary field_26390 Lnet/minecraft/class_1419;field_26390:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/village/ZombieSiegeManager;LOGGER:Lorg/slf4j/Logger;
    • spawned

      private boolean spawned
      Mappings:
      Namespace Name Mixin selector
      official b Lbqr;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 Lbqr;c:Lbqr$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 Lbqr;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 Lbqr;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 Lbqr;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 Lbqr;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 Lbqr;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 Lcls;a(Laid;ZZ)I
      intermediary method_6445 Lnet/minecraft/class_5304;method_6445(Lnet/minecraft/class_3218;ZZ)I
      named spawn Lnet/minecraft/world/spawner/Spawner;spawn(Lnet/minecraft/server/world/ServerWorld;ZZ)I
    • spawn

      private boolean spawn(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqr;a(Laid;)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 Lbqr;b(Laid;)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 Lbqr;a(Laid;Lgu;)Ledu;
      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;