Class NPCBeaconSpawnJob

java.lang.Object
com.hypixel.hytale.server.spawning.jobs.SpawnJob
com.hypixel.hytale.server.spawning.jobs.NPCBeaconSpawnJob

public class NPCBeaconSpawnJob extends SpawnJob
Created on 11/04/2019
  • Constructor Details

    • NPCBeaconSpawnJob

      public NPCBeaconSpawnJob()
  • Method Details

    • getRoleIndex

      public int getRoleIndex()
    • getPlayer

      @Nullable public Ref<EntityStore> getPlayer()
    • getSpawnsThisRound

      public int getSpawnsThisRound()
    • getFlockSize

      public int getFlockSize()
    • getFlockAsset

      @Nullable public FlockAsset getFlockAsset()
    • shouldTerminate

      public boolean shouldTerminate()
      Specified by:
      shouldTerminate in class SpawnJob
    • budgetAvailable

      public boolean budgetAvailable()
      Overrides:
      budgetAvailable in class SpawnJob
    • reset

      public void reset()
      Overrides:
      reset in class SpawnJob
    • getSpawnable

      @Nullable public ISpawnableWithModel getSpawnable()
      Specified by:
      getSpawnable in class SpawnJob
    • getSpawnableName

      @Nullable public String getSpawnableName()
      Specified by:
      getSpawnableName in class SpawnJob
    • beginProbing

      public void beginProbing(@Nonnull PlayerRef targetPlayer, int spawnsThisRound, int roleIndex, @Nullable FlockAsset flockDefinition)