Class PatrolSpawner

java.lang.Object
net.minecraft.world.level.levelgen.PatrolSpawner
All Implemented Interfaces:
CustomSpawner

public class PatrolSpawner extends Object implements CustomSpawner
  • Field Details

    • nextTick

      private int nextTick
  • Constructor Details

    • PatrolSpawner

      public PatrolSpawner()
  • Method Details

    • tick

      public int tick(ServerLevel p_64570_, boolean p_64571_, boolean p_64572_)
      Specified by:
      tick in interface CustomSpawner
    • spawnPatrolMember

      private boolean spawnPatrolMember(ServerLevel p_64565_, BlockPos p_64566_, Random p_64567_, boolean p_64568_)