Class PatrolSpawner
java.lang.Object
net.minecraft.world.level.levelgen.PatrolSpawner
- All Implemented Interfaces:
CustomSpawner
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
spawnPatrolMember
(ServerLevel p_224533_, BlockPos p_224534_, RandomSource p_224535_, boolean p_224536_) int
tick
(ServerLevel p_64570_, boolean p_64571_, boolean p_64572_)
-
Field Details
-
nextTick
private int nextTick
-
-
Constructor Details
-
PatrolSpawner
public PatrolSpawner()
-
-
Method Details
-
tick
- Specified by:
tick
in interfaceCustomSpawner
-
spawnPatrolMember
private boolean spawnPatrolMember(ServerLevel p_224533_, BlockPos p_224534_, RandomSource p_224535_, boolean p_224536_)
-