BeaconNPCSpawn

public class BeaconNPCSpawn extends NPCSpawn implements JsonAssetWithMap, IndexedLookupTableAssetMap, BeaconNPCSpawn>>

Class BeaconNPCSpawn. Provides beaconnpcspawn functionality for the Hytale server.

java.lang.Object > NPCSpawn > BeaconNPCSpawn

Field Summary

model

protected String model

Field model.

targetDistanceFromPlayer

protected double targetDistanceFromPlayer

Field targetDistanceFromPlayer.

minDistanceFromPlayer

protected double minDistanceFromPlayer

Field minDistanceFromPlayer.

yRange

protected int[] yRange

Field yRange.

maxSpawnedNpcs

protected int maxSpawnedNpcs

Field maxSpawnedNpcs.

concurrentSpawnsRange

protected int[] concurrentSpawnsRange

Field concurrentSpawnsRange.

spawnAfterGameTime

protected Duration[] spawnAfterGameTime

Field spawnAfterGameTime.

spawnAfterRealTime

protected Duration[] spawnAfterRealTime

Field spawnAfterRealTime.

initialSpawnDelay

protected double[] initialSpawnDelay

Field initialSpawnDelay.

npcIdleDespawnTimeSeconds

protected double npcIdleDespawnTimeSeconds

Field npcIdleDespawnTimeSeconds.

beaconRadius

protected double beaconRadius

Field beaconRadius.

spawnRadius

protected double spawnRadius

Field spawnRadius.

beaconVacantDespawnTime

protected Duration beaconVacantDespawnTime

Field beaconVacantDespawnTime.

npcSpawnState

protected String npcSpawnState

Field npcSpawnState.

npcSpawnSubState

protected String npcSpawnSubState

Field npcSpawnSubState.

targetSlot

protected String targetSlot

Field targetSlot.

spawnSuppression

protected String spawnSuppression

Field spawnSuppression.

maxSpawnsScalingCurve

protected ScaledXYResponseCurve maxSpawnsScalingCurve

Field maxSpawnsScalingCurve.

concurrentSpawnsScalingCurve

protected ScaledXYResponseCurve concurrentSpawnsScalingCurve

Field concurrentSpawnsScalingCurve.

overrideSpawnSuppressors

protected boolean overrideSpawnSuppressors

Field overrideSpawnSuppressors.

debug

protected FloodFillPositionSelector.Debug debug

Field debug.

handle

final MethodHandle handle

Field handle.

Method Detail

BeaconNPCSpawn

public public BeaconNPCSpawn (final String id)

Method BeaconNPCSpawn.

Parameters:
final String id

getAssetStore

public > getAssetStore ()

Method getAssetStore.

getAssetMap

public BeaconNPCSpawn> getAssetMap ()

Method getAssetMap.

getId

public String getId ()

Method getId.

getModel

public String getModel ()

Method getModel.

getTargetDistanceFromPlayer

public double getTargetDistanceFromPlayer ()

Method getTargetDistanceFromPlayer.

getMinDistanceFromPlayer

public double getMinDistanceFromPlayer ()

Method getMinDistanceFromPlayer.

getYRange

public int[] getYRange ()

Method getYRange.

getMaxSpawnedNpcs

public int getMaxSpawnedNpcs ()

Method getMaxSpawnedNpcs.

getConcurrentSpawnsRange

public int[] getConcurrentSpawnsRange ()

Method getConcurrentSpawnsRange.

getSpawnAfterGameTimeRange

public Duration[] getSpawnAfterGameTimeRange ()

Method getSpawnAfterGameTimeRange.

getSpawnAfterRealTimeRange

public Duration[] getSpawnAfterRealTimeRange ()

Method getSpawnAfterRealTimeRange.

isRespawnRealtime

public boolean isRespawnRealtime ()

Method isRespawnRealtime.

getInitialSpawnDelay

public double[] getInitialSpawnDelay ()

Method getInitialSpawnDelay.

getNpcIdleDespawnTimeSeconds

public double getNpcIdleDespawnTimeSeconds ()

Method getNpcIdleDespawnTimeSeconds.

getBeaconVacantDespawnTime

public Duration getBeaconVacantDespawnTime ()

Method getBeaconVacantDespawnTime.

getBeaconRadius

public double getBeaconRadius ()

Method getBeaconRadius.

getSpawnRadius

public double getSpawnRadius ()

Method getSpawnRadius.

getNpcSpawnState

public String getNpcSpawnState ()

Method getNpcSpawnState.

getNpcSpawnSubState

public String getNpcSpawnSubState ()

Method getNpcSpawnSubState.

getSpawnSuppression

public String getSpawnSuppression ()

Method getSpawnSuppression.

isOverrideSpawnSuppressors

public boolean isOverrideSpawnSuppressors ()

Method isOverrideSpawnSuppressors.

getTargetSlot

public String getTargetSlot ()

Method getTargetSlot.

getMaxSpawnsScalingCurve

public ScaledXYResponseCurve getMaxSpawnsScalingCurve ()

Method getMaxSpawnsScalingCurve.

getConcurrentSpawnsScalingCurve

public ScaledXYResponseCurve getConcurrentSpawnsScalingCurve ()

Method getConcurrentSpawnsScalingCurve.

getDebug

public FloodFillPositionSelector.Debug getDebug ()

Method getDebug.

toString

public String toString ()

Method toString.

spawned

public dynamically spawned (e.g. if it should only be spawned by an objective)

Method spawned.

Parameters:
e.g. if it should only be spawned by an objective

player

public the player (this is a guideline and not an absolute)

Method player.

Parameters:
this is a guideline and not an absolute

happen

public physically happen (i.e. where their spawn points will be)

Method happen.

Parameters:
i.e. where their spawn points will be

handle

static MethodHandle handle ()

Method handle.

ensureHandle

static MethodHandle ensureHandle ()

Method ensureHandle.

invoke

static String invoke (String p0, String p1)

Method invoke.

Parameters:
String p0
String p1