Class PatrolSpawner

java.lang.Object
net.minecraft.world.spawner.PatrolSpawner
All Implemented Interfaces:
ISpecialSpawner

public class PatrolSpawner extends Object implements ISpecialSpawner
  • Field Details

    • nextTick

      private int nextTick
  • Constructor Details

    • PatrolSpawner

      public PatrolSpawner()
  • Method Details

    • tick

      public int tick(ServerWorld p_230253_1_, boolean p_230253_2_, boolean p_230253_3_)
      Specified by:
      tick in interface ISpecialSpawner
    • spawnPatrolMember

      private boolean spawnPatrolMember(ServerWorld p_222695_1_, BlockPos p_222695_2_, Random p_222695_3_, boolean p_222695_4_)