public class CatSpawner extends Object
Modifier and Type | Field and Description |
---|---|
private int |
ticksUntilNextSpawn |
Constructor and Description |
---|
CatSpawner() |
Modifier and Type | Method and Description |
---|---|
private int |
spawn(BlockPos pos,
World world) |
int |
spawn(ServerWorld serverWorld,
boolean spawnMonsters,
boolean spawnAnimals) |
private int |
spawnInHouse(ServerWorld world,
BlockPos pos) |
private int |
spawnInSwampHut(World world,
BlockPos pos) |
public int spawn(ServerWorld serverWorld, boolean spawnMonsters, boolean spawnAnimals)
private int spawnInHouse(ServerWorld world, BlockPos pos)