java.lang.Object
com.hypixel.hytale.server.spawning.assets.spawns.config.NPCSpawn
com.hypixel.hytale.server.spawning.assets.spawns.config.BeaconNPCSpawn
All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String,IndexedLookupTableAssetMap<String,BeaconNPCSpawn>>

public class BeaconNPCSpawn extends NPCSpawn implements JsonAssetWithMap<String,IndexedLookupTableAssetMap<String,BeaconNPCSpawn>>
  • Field Details

    • CODEC

      public static final AssetBuilderCodec<String,BeaconNPCSpawn> CODEC
    • DEFAULT_Y_RANGE

      public static final int[] DEFAULT_Y_RANGE
    • DEFAULT_CONCURRENT_SPAWNS_RANGE

      public static final int[] DEFAULT_CONCURRENT_SPAWNS_RANGE
    • DEFAULT_RESPAWN_TIME_RANGE

      private static final Duration[] DEFAULT_RESPAWN_TIME_RANGE
    • model

      protected String model
    • targetDistanceFromPlayer

      protected double targetDistanceFromPlayer
    • minDistanceFromPlayer

      protected double minDistanceFromPlayer
    • yRange

      protected int[] yRange
    • maxSpawnedNpcs

      protected int maxSpawnedNpcs
    • concurrentSpawnsRange

      protected int[] concurrentSpawnsRange
    • spawnAfterGameTime

      protected Duration[] spawnAfterGameTime
    • spawnAfterRealTime

      protected Duration[] spawnAfterRealTime
    • initialSpawnDelay

      protected double[] initialSpawnDelay
    • npcIdleDespawnTimeSeconds

      protected double npcIdleDespawnTimeSeconds
    • beaconRadius

      protected double beaconRadius
    • spawnRadius

      protected double spawnRadius
    • beaconVacantDespawnTime

      protected Duration beaconVacantDespawnTime
    • npcSpawnState

      protected String npcSpawnState
    • npcSpawnSubState

      protected String npcSpawnSubState
    • targetSlot

      protected String targetSlot
    • spawnSuppression

      protected String spawnSuppression
    • maxSpawnsScalingCurve

      protected ScaledXYResponseCurve maxSpawnsScalingCurve
    • concurrentSpawnsScalingCurve

      protected ScaledXYResponseCurve concurrentSpawnsScalingCurve
    • overrideSpawnSuppressors

      protected boolean overrideSpawnSuppressors
    • debug

      protected com.hypixel.hytale.server.spawning.util.FloodFillPositionSelector.Debug debug
    • VALIDATOR_CACHE

      public static final ValidatorCache<String> VALIDATOR_CACHE
    • ASSET_STORE

  • Constructor Details

    • BeaconNPCSpawn

      public BeaconNPCSpawn(String id)
    • BeaconNPCSpawn

      protected BeaconNPCSpawn()
  • Method Details

    • getAssetStore

    • getAssetMap

      public static IndexedLookupTableAssetMap<String,BeaconNPCSpawn> getAssetMap()
    • getId

      public String getId()
      Specified by:
      getId in interface JsonAsset<String>
      Specified by:
      getId in class NPCSpawn
    • getModel

      public String getModel()
    • getTargetDistanceFromPlayer

      public double getTargetDistanceFromPlayer()
    • getMinDistanceFromPlayer

      public double getMinDistanceFromPlayer()
    • getYRange

      public int[] getYRange()
    • getMaxSpawnedNpcs

      public int getMaxSpawnedNpcs()
    • getConcurrentSpawnsRange

      public int[] getConcurrentSpawnsRange()
    • getSpawnAfterGameTimeRange

      public Duration[] getSpawnAfterGameTimeRange()
    • getSpawnAfterRealTimeRange

      public Duration[] getSpawnAfterRealTimeRange()
    • isRespawnRealtime

      public boolean isRespawnRealtime()
    • getInitialSpawnDelay

      public double[] getInitialSpawnDelay()
    • getNpcIdleDespawnTimeSeconds

      public double getNpcIdleDespawnTimeSeconds()
    • getBeaconVacantDespawnTime

      public Duration getBeaconVacantDespawnTime()
    • getBeaconRadius

      public double getBeaconRadius()
    • getSpawnRadius

      public double getSpawnRadius()
    • getNpcSpawnState

      public String getNpcSpawnState()
    • getNpcSpawnSubState

      public String getNpcSpawnSubState()
    • getSpawnSuppression

      public String getSpawnSuppression()
    • isOverrideSpawnSuppressors

      public boolean isOverrideSpawnSuppressors()
    • getTargetSlot

      public String getTargetSlot()
    • getMaxSpawnsScalingCurve

      public ScaledXYResponseCurve getMaxSpawnsScalingCurve()
    • getConcurrentSpawnsScalingCurve

      public ScaledXYResponseCurve getConcurrentSpawnsScalingCurve()
    • getDebug

      public com.hypixel.hytale.server.spawning.util.FloodFillPositionSelector.Debug getDebug()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class NPCSpawn