类 CatSpawner

  • 所有已实现的接口:
    Spawner

    public class CatSpawner
    extends Object
    implements Spawner
    Mappings:
    Namespace Name
    official bio
    intermediary net/minecraft/class_4274
    named net/minecraft/world/gen/CatSpawner
    • 字段详细资料

      • field_30601

        private static final int field_30601
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lbio;a:I
        intermediary field_30601 Lnet/minecraft/class_4274;field_30601:I
        named field_30601 Lnet/minecraft/world/gen/CatSpawner;field_30601:I
      • ticksUntilNextSpawn

        private int ticksUntilNextSpawn
        Mappings:
        Namespace Name Mixin selector
        official b Lbio;b:I
        intermediary field_19171 Lnet/minecraft/class_4274;field_19171:I
        named ticksUntilNextSpawn Lnet/minecraft/world/gen/CatSpawner;ticksUntilNextSpawn:I
    • 构造器详细资料

      • CatSpawner

        public CatSpawner()
    • 方法详细资料

      • 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
      • spawnInHouse

        private int spawnInHouse​(ServerWorld world,
                                 BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official a Lbio;a(Labj;Lgb;)I
        intermediary method_20263 Lnet/minecraft/class_4274;method_20263(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)I
        named spawnInHouse Lnet/minecraft/world/gen/CatSpawner;spawnInHouse(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)I
      • spawnInSwampHut

        private int spawnInSwampHut​(ServerWorld world,
                                    BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official b Lbio;b(Labj;Lgb;)I
        intermediary method_20260 Lnet/minecraft/class_4274;method_20260(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)I
        named spawnInSwampHut Lnet/minecraft/world/gen/CatSpawner;spawnInSwampHut(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)I
      • spawn

        private int spawn​(BlockPos pos,
                          ServerWorld world)
        Mappings:
        Namespace Name Mixin selector
        official a Lbio;a(Lgb;Labj;)I
        intermediary method_20262 Lnet/minecraft/class_4274;method_20262(Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;)I
        named spawn Lnet/minecraft/world/gen/CatSpawner;spawn(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/world/ServerWorld;)I