Class BeaconNPCSpawn
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>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.server.spawning.assets.spawns.config.NPCSpawn
NPCSpawn.DespawnParameters -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static AssetStore<String, BeaconNPCSpawn, IndexedLookupTableAssetMap<String, BeaconNPCSpawn>> protected doubleprotected Durationstatic final AssetBuilderCodec<String, BeaconNPCSpawn> protected int[]protected ScaledXYResponseCurveprotected com.hypixel.hytale.server.spawning.util.FloodFillPositionSelector.Debugstatic final int[]private static final Duration[]static final int[]protected double[]protected intprotected ScaledXYResponseCurveprotected doubleprotected Stringprotected doubleprotected Stringprotected Stringprotected booleanprotected Duration[]protected Duration[]protected doubleprotected Stringprotected doubleprotected Stringstatic final ValidatorCache<String> protected int[]Fields inherited from class com.hypixel.hytale.server.spawning.assets.spawns.config.NPCSpawn
BASE_CODEC, data, dayTimeRange, DEFAULT_DAY_TIME_RANGE, DEFAULT_MOON_PHASE_RANGE, despawnParameters, environmentIds, environments, FULL_LIGHT_RANGE, HOURS_PER_DAY, id, lightTypeMap, moonPhaseRange, npcs, scaleDayTimeRange -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.hypixel.hytale.server.spawning.assets.spawns.config.NPCSpawn
getDayTimeRange, getDespawnParameters, getEnvironmentIds, getEnvironments, getLightRange, getMoonPhaseRange, getNPCs, isScaleDayTimeRange
-
Field Details
-
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
-
model
-
targetDistanceFromPlayer
protected double targetDistanceFromPlayer -
minDistanceFromPlayer
protected double minDistanceFromPlayer -
yRange
protected int[] yRange -
maxSpawnedNpcs
protected int maxSpawnedNpcs -
concurrentSpawnsRange
protected int[] concurrentSpawnsRange -
spawnAfterGameTime
-
spawnAfterRealTime
-
initialSpawnDelay
protected double[] initialSpawnDelay -
npcIdleDespawnTimeSeconds
protected double npcIdleDespawnTimeSeconds -
beaconRadius
protected double beaconRadius -
spawnRadius
protected double spawnRadius -
beaconVacantDespawnTime
-
npcSpawnState
-
npcSpawnSubState
-
targetSlot
-
spawnSuppression
-
maxSpawnsScalingCurve
-
concurrentSpawnsScalingCurve
-
overrideSpawnSuppressors
protected boolean overrideSpawnSuppressors -
debug
protected com.hypixel.hytale.server.spawning.util.FloodFillPositionSelector.Debug debug -
VALIDATOR_CACHE
-
ASSET_STORE
private static AssetStore<String,BeaconNPCSpawn, ASSET_STOREIndexedLookupTableAssetMap<String, BeaconNPCSpawn>>
-
-
Constructor Details
-
BeaconNPCSpawn
-
BeaconNPCSpawn
protected BeaconNPCSpawn()
-
-
Method Details
-
getAssetStore
public static AssetStore<String,BeaconNPCSpawn, getAssetStore()IndexedLookupTableAssetMap<String, BeaconNPCSpawn>> -
getAssetMap
-
getId
-
getModel
-
getTargetDistanceFromPlayer
public double getTargetDistanceFromPlayer() -
getMinDistanceFromPlayer
public double getMinDistanceFromPlayer() -
getYRange
public int[] getYRange() -
getMaxSpawnedNpcs
public int getMaxSpawnedNpcs() -
getConcurrentSpawnsRange
public int[] getConcurrentSpawnsRange() -
getSpawnAfterGameTimeRange
-
getSpawnAfterRealTimeRange
-
isRespawnRealtime
public boolean isRespawnRealtime() -
getInitialSpawnDelay
public double[] getInitialSpawnDelay() -
getNpcIdleDespawnTimeSeconds
public double getNpcIdleDespawnTimeSeconds() -
getBeaconVacantDespawnTime
-
getBeaconRadius
public double getBeaconRadius() -
getSpawnRadius
public double getSpawnRadius() -
getNpcSpawnState
-
getNpcSpawnSubState
-
getSpawnSuppression
-
isOverrideSpawnSuppressors
public boolean isOverrideSpawnSuppressors() -
getTargetSlot
-
getMaxSpawnsScalingCurve
-
getConcurrentSpawnsScalingCurve
-
getDebug
public com.hypixel.hytale.server.spawning.util.FloodFillPositionSelector.Debug getDebug() -
toString
-