Package net.minecraft.world.spawner
Class CatSpawner
- java.lang.Object
-
- net.minecraft.world.spawner.CatSpawner
-
- All Implemented Interfaces:
ISpecialSpawner
public class CatSpawner extends java.lang.Object implements ISpecialSpawner
-
-
Field Summary
Fields Modifier and Type Field Description private int
nextTick
-
Constructor Summary
Constructors Constructor Description CatSpawner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
spawnCat(BlockPos p_221122_1_, ServerWorld p_221122_2_)
private int
spawnInHut(ServerWorld p_221123_1_, BlockPos p_221123_2_)
private int
spawnInVillage(ServerWorld p_221121_1_, BlockPos p_221121_2_)
int
tick(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_)
-
-
-
Method Detail
-
tick
public int tick(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_)
- Specified by:
tick
in interfaceISpecialSpawner
-
spawnInVillage
private int spawnInVillage(ServerWorld p_221121_1_, BlockPos p_221121_2_)
-
spawnInHut
private int spawnInHut(ServerWorld p_221123_1_, BlockPos p_221123_2_)
-
spawnCat
private int spawnCat(BlockPos p_221122_1_, ServerWorld p_221122_2_)
-
-