public class WorldNPCSpawn extendsNPCSpawnimplementsJsonAssetWithMap,IndexedLookupTableAssetMap,WorldNPCSpawn>>
Class WorldNPCSpawn. Provides worldnpcspawn functionality for the Hytale server.
java.lang.Object > NPCSpawn > WorldNPCSpawn
Field Summary
moonPhaseWeightModifiers
protected
double[]
moonPhaseWeightModifiers
Field moonPhaseWeightModifiers.
Method Detail
getAssetMap
public
WorldNPCSpawn>
getAssetMap
()
Method getAssetMap.
WorldNPCSpawn
public
public
WorldNPCSpawn
(final String id)
Method WorldNPCSpawn.
- Parameters:
final Stringid
getId
public
String
getId
()
Method getId.
getMoonPhaseWeightModifiers
public
double[]
getMoonPhaseWeightModifiers
()
Method getMoonPhaseWeightModifiers.
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("Environments", Codec.STRING_ARRAY)
Method KeyedCodec.
- Parameters:
"Environments""Environments"Codec.STRING_ARRAYCodec.STRING_ARRAY
DoubleArrayValidator
public
new
DoubleArrayValidator
(Validators.range(0.0, 2.0)
Method DoubleArrayValidator.
- Parameters:
Validators.range(0.0Validators.range(0.02.02.0