Package net.minecraft.world.gen
Class CatSpawner
java.lang.Object
net.minecraft.world.gen.CatSpawner
- All Implemented Interfaces:
Spawner
- Mappings:
Namespace Name official bna
intermediary net/minecraft/class_4274
named net/minecraft/world/gen/CatSpawner
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
spawn
(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals) Spawns entities into a world.private int
spawn
(BlockPos pos, ServerWorld world) private int
spawnInHouse
(ServerWorld world, BlockPos pos) private int
spawnInSwampHut
(ServerWorld world, BlockPos pos)
-
Field Details
-
SPAWN_COOLDOWN
private static final int SPAWN_COOLDOWN- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbna;a:I
intermediary field_30601
Lnet/minecraft/class_4274;field_30601:I
named SPAWN_COOLDOWN
Lnet/minecraft/world/gen/CatSpawner;SPAWN_COOLDOWN:I
-
ticksUntilNextSpawn
private int ticksUntilNextSpawn- Mappings:
Namespace Name Mixin selector official b
Lbna;b:I
intermediary field_19171
Lnet/minecraft/class_4274;field_19171:I
named ticksUntilNextSpawn
Lnet/minecraft/world/gen/CatSpawner;ticksUntilNextSpawn:I
-
-
Constructor Details
-
CatSpawner
public CatSpawner()
-
-
Method Details
-
spawn
Spawns entities into a world.- Specified by:
spawn
in interfaceSpawner
- Parameters:
spawnMonsters
- whether monsters should be spawnedspawnAnimals
- 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
-
spawnInHouse
- Mappings:
Namespace Name Mixin selector official a
Lbna;a(Ladi;Lgh;)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
- Mappings:
Namespace Name Mixin selector official b
Lbna;b(Ladi;Lgh;)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
- Mappings:
Namespace Name Mixin selector official a
Lbna;a(Lgh;Ladi;)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
-