类 ZombieSiegeManager

  • 所有已实现的接口:
    Spawner

    public class ZombieSiegeManager
    extends Object
    implements Spawner
    Mappings:
    Namespace Name
    official bcm
    intermediary net/minecraft/class_1419
    named net/minecraft/village/ZombieSiegeManager
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Lbcm;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 Lbcm;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 Lbcm;c:Lbcm$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 Lbcm;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 Lbcm;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 Lbcm;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 Lbcm;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 Lbcm;h:I
        intermediary field_6719 Lnet/minecraft/class_1419;field_6719:I
        named startZ Lnet/minecraft/village/ZombieSiegeManager;startZ:I
    • 构造器详细资料

      • ZombieSiegeManager

        public ZombieSiegeManager()
    • 方法详细资料

      • spawn

        public int spawn​(ServerWorld world,
                         boolean spawnMonsters,
                         boolean spawnAnimals)
        Spawns entities into a world.
        指定者:
        spawn 在接口中 Spawner
        参数:
        spawnMonsters - whether monsters should be spawned
        spawnAnimals - whether animals should be spawned
        返回:
        the number of entities spawned
        Mappings:
        Namespace Name Mixin selector
        official a Lbvd;a(Labj;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 Lbcm;a(Labj;)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 Lbcm;b(Labj;)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 Lbcm;a(Labj;Lgb;)Ldma;
        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;