Package net.minecraft.world.gen
Class CatSpawner
java.lang.Object
net.minecraft.world.gen.CatSpawner
- All Implemented Interfaces:
Spawner
public class CatSpawner extends Object implements Spawner
-
Field Summary
Fields Modifier and Type Field Description private int
ticksUntilNextSpawn
-
Constructor Summary
Constructors Constructor Description CatSpawner()
-
Method Summary
Modifier and Type Method Description int
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
-
ticksUntilNextSpawn
private int ticksUntilNextSpawn
-
-
Constructor Details
-
CatSpawner
public CatSpawner()
-
-
Method Details