Package net.minecraft.world.entity.npc
Class CatSpawner
java.lang.Object
net.minecraft.world.entity.npc.CatSpawner
- All Implemented Interfaces:
CustomSpawner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
spawnCat
(BlockPos pPos, ServerLevel pLevel, boolean pPersistent) private void
spawnInHut
(ServerLevel pLevel, BlockPos pPos) private void
spawnInVillage
(ServerLevel pLevel, BlockPos pPos) void
tick
(ServerLevel pLevel, boolean pSpawnEnemies, boolean pSpawnFriendlies)
-
Field Details
-
TICK_DELAY
private static final int TICK_DELAY- See Also:
-
nextTick
private int nextTick
-
-
Constructor Details
-
CatSpawner
public CatSpawner()
-
-
Method Details
-
tick
- Specified by:
tick
in interfaceCustomSpawner
-
spawnInVillage
-
spawnInHut
-
spawnCat
-