HyCodeYourTale
classpublicPriority 3

BeaconNPCSpawn

com.hypixel.hytale.server.spawning.assets.spawns.config.BeaconNPCSpawn

extends NPCSpawn

implements JsonAssetWithMap<String, IndexedLookupTableAssetMap<String, BeaconNPCSpawn>>

26

Methods

26

Public Methods

22

Fields

2

Constructors

Constants

AssetBuilderCodec<String, BeaconNPCSpawn>CODEC= AssetBuilderCodec.builder( BeaconNPCSpawn.class, BeaconNPCSpawn::new, ...
int[]DEFAULT_CONCURRENT_SPAWNS_RANGE= <complex>
Duration[]DEFAULT_RESPAWN_TIME_RANGE= <complex>
int[]DEFAULT_Y_RANGE= <complex>
ValidatorCache<String>VALIDATOR_CACHE= new ValidatorCache<>(new AssetKeyValidator<>(BeaconNPCSpawn::getAssetStore))

Constructors

protected
BeaconNPCSpawn()
public
BeaconNPCSpawn(String id)

Methods

Public Methods (26)

publicstatic
IndexedLookupTableAssetMap<String, BeaconNPCSpawn> getAssetMap()
publicstatic
AssetStore<String, BeaconNPCSpawn, IndexedLookupTableAssetMap<String, BeaconNPCSpawn>> getAssetStore()
public
double getBeaconRadius()
public
Duration getBeaconVacantDespawnTime()
public
int[] getConcurrentSpawnsRange()
public
ScaledXYResponseCurve getConcurrentSpawnsScalingCurve()
public
FloodFillPositionSelector.Debug getDebug()
public
String getId()
@Override
public
double[] getInitialSpawnDelay()
public
int getMaxSpawnedNpcs()
public
ScaledXYResponseCurve getMaxSpawnsScalingCurve()
public
double getMinDistanceFromPlayer()
public
String getModel()
public
double getNpcIdleDespawnTimeSeconds()
public
String getNpcSpawnState()
public
String getNpcSpawnSubState()
public
Duration[] getSpawnAfterGameTimeRange()
public
Duration[] getSpawnAfterRealTimeRange()
public
double getSpawnRadius()
public
String getSpawnSuppression()
public
double getTargetDistanceFromPlayer()
public
String getTargetSlot()
public
int[] getYRange()
public
boolean isOverrideSpawnSuppressors()
public
boolean isRespawnRealtime()
public
String toString()
@Nonnull@Override

Fields

Protected Fields (21)

protecteddouble beaconRadius
protectedDuration beaconVacantDespawnTime
protectedint[] concurrentSpawnsRange
protectedScaledXYResponseCurve concurrentSpawnsScalingCurve
protectedFloodFillPositionSelector.Debug debug
protecteddouble[] initialSpawnDelay
protectedint maxSpawnedNpcs
protectedScaledXYResponseCurve maxSpawnsScalingCurve
protecteddouble minDistanceFromPlayer
protectedString model
protecteddouble npcIdleDespawnTimeSeconds
protectedString npcSpawnState
protectedString npcSpawnSubState
protectedboolean overrideSpawnSuppressors
protectedDuration[] spawnAfterGameTime
protectedDuration[] spawnAfterRealTime
protecteddouble spawnRadius
protectedString spawnSuppression
protecteddouble targetDistanceFromPlayer
protectedString targetSlot
protectedint[] yRange

Private/Package Fields (1)

privateAssetStore<String, BeaconNPCSpawn, IndexedLookupTableAssetMap<String, BeaconNPCSpawn>> ASSET_STORE

Related Classes