Modifier and Type | Field and Description |
---|---|
private int |
ticksUntilNextSpawn |
Constructor and Description |
---|
CatSpawner() |
Modifier and Type | Method and Description |
---|---|
private int |
spawn(BlockPos pos,
ServerWorld world) |
int |
spawn(ServerWorld world,
boolean spawnMonsters,
boolean spawnAnimals)
Spawns entities into a world.
|
private int |
spawnInHouse(ServerWorld world,
BlockPos pos) |
private int |
spawnInSwampHut(ServerWorld world,
BlockPos pos) |
public int spawn(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)
private int spawnInHouse(ServerWorld world, BlockPos pos)
private int spawnInSwampHut(ServerWorld world, BlockPos pos)
private int spawn(BlockPos pos, ServerWorld world)