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)
protected
double beaconRadiusprotected
Duration beaconVacantDespawnTimeprotected
int[] concurrentSpawnsRangeprotected
ScaledXYResponseCurve concurrentSpawnsScalingCurveprotected
FloodFillPositionSelector.Debug debugprotected
double[] initialSpawnDelayprotected
int maxSpawnedNpcsprotected
ScaledXYResponseCurve maxSpawnsScalingCurveprotected
double minDistanceFromPlayerprotected
String modelprotected
double npcIdleDespawnTimeSecondsprotected
String npcSpawnStateprotected
String npcSpawnSubStateprotected
boolean overrideSpawnSuppressorsprotected
Duration[] spawnAfterGameTimeprotected
Duration[] spawnAfterRealTimeprotected
double spawnRadiusprotected
String spawnSuppressionprotected
double targetDistanceFromPlayerprotected
String targetSlotprotected
int[] yRangePrivate/Package Fields (1)
private
AssetStore<String, BeaconNPCSpawn, IndexedLookupTableAssetMap<String, BeaconNPCSpawn>> ASSET_STORE