类 CatSpawner
- java.lang.Object
-
- net.minecraft.world.gen.CatSpawner
-
-
字段概要
字段 修饰符和类型 字段 说明 private static intfield_30601private intticksUntilNextSpawn
-
构造器概要
构造器 构造器 说明 CatSpawner()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intspawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)Spawns entities into a world.private intspawn(BlockPos pos, ServerWorld world)private intspawnInHouse(ServerWorld world, BlockPos pos)private intspawnInSwampHut(ServerWorld world, BlockPos pos)
-
-
-
字段详细资料
-
field_30601
private static final int field_30601
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLbio;a:Iintermediary field_30601Lnet/minecraft/class_4274;field_30601:Inamed field_30601Lnet/minecraft/world/gen/CatSpawner;field_30601:I
-
ticksUntilNextSpawn
private int ticksUntilNextSpawn
- Mappings:
Namespace Name Mixin selector official bLbio;b:Iintermediary field_19171Lnet/minecraft/class_4274;field_19171:Inamed ticksUntilNextSpawnLnet/minecraft/world/gen/CatSpawner;ticksUntilNextSpawn:I
-
-
方法详细资料
-
spawn
public int spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)
Spawns entities into a world.- 指定者:
spawn在接口中Spawner- 参数:
spawnMonsters- whether monsters should be spawnedspawnAnimals- whether animals should be spawned- 返回:
- the number of entities spawned
- Mappings:
Namespace Name Mixin selector official aLbvd;a(Labj;ZZ)Iintermediary method_6445Lnet/minecraft/class_5304;method_6445(Lnet/minecraft/class_3218;ZZ)Inamed spawnLnet/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 aLbio;a(Labj;Lgb;)Iintermediary method_20263Lnet/minecraft/class_4274;method_20263(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Inamed spawnInHouseLnet/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 bLbio;b(Labj;Lgb;)Iintermediary method_20260Lnet/minecraft/class_4274;method_20260(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Inamed spawnInSwampHutLnet/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 aLbio;a(Lgb;Labj;)Iintermediary method_20262Lnet/minecraft/class_4274;method_20262(Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;)Inamed spawnLnet/minecraft/world/gen/CatSpawner;spawn(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/world/ServerWorld;)I
-
-