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_64565_, BlockPos p_64566_, Random p_64567_, boolean p_64568_)
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_64565_, BlockPos p_64566_, Random p_64567_, boolean p_64568_)
-