UniquePrefabConfigurationJsonLoader

public class UniquePrefabConfigurationJsonLoader extends JsonLoader

Class UniquePrefabConfigurationJsonLoader. Provides uniqueprefabconfigurationjsonloader functionality for the Hytale server.

java.lang.Object > JsonLoader > UniquePrefabConfigurationJsonLoader

Field Summary

blockArray

final ResolvedBlockArray blockArray

Field blockArray.

biomeSet

final LongSet biomeSet

Field biomeSet.

heightThresholdObject

final JsonObject heightThresholdObject

Field heightThresholdObject.

environmentId

final String environmentId

Field environmentId.

Method Detail

UniquePrefabConfigurationJsonLoader

public public UniquePrefabConfigurationJsonLoader (final SeedString seed, final Path dataFolder, final JsonElement json, final ZoneFileContext zoneContext)

Method UniquePrefabConfigurationJsonLoader.

Parameters:
final SeedString seed
final Path dataFolder
final JsonElement json
final ZoneFileContext zoneContext

load

public UniquePrefabConfiguration load ()

Method load.

UniquePrefabConfiguration

public new UniquePrefabConfiguration (this.loadHeightThresholds()

Method UniquePrefabConfiguration.

Parameters:
this.loadHeightThresholds( this.loadHeightThresholds(

loadParent

protected IBlockFluidCondition loadParent ()

Method loadParent.

ResolvedBlockArrayJsonLoader

public new ResolvedBlockArrayJsonLoader ((SeedString)

Method ResolvedBlockArrayJsonLoader.

Parameters:
(SeedString (SeedString

loadHeightThresholds

protected ICoordinateRndCondition loadHeightThresholds ()

Method loadHeightThresholds.

HeightCondition

public new HeightCondition (new HeightThresholdInterpreterJsonLoader(this.seed, this.dataFolder, heightThresholdObject, 320)

Method HeightCondition.

Parameters:
new HeightThresholdInterpreterJsonLoader(this.seed
this.dataFolder this.dataFolder
heightThresholdObject heightThresholdObject
320 320

loadBiomeMask

protected IIntCondition loadBiomeMask ()

Method loadBiomeMask.

BiomeMaskJsonLoader

public new BiomeMaskJsonLoader ((SeedString)

Method BiomeMaskJsonLoader.

Parameters:
(SeedString (SeedString

loadRotations

protected PrefabRotation[] loadRotations ()

Method loadRotations.

loadMapCondition

protected ICoordinateCondition loadMapCondition ()

Method loadMapCondition.

NoiseMaskConditionJsonLoader

public new NoiseMaskConditionJsonLoader (this.seed, this.dataFolder, this.get("NoiseMask")

Method NoiseMaskConditionJsonLoader.

Parameters:
this.seed this.seed
this.dataFolder this.dataFolder
this.get("NoiseMask" this.get("NoiseMask"

loadMask

protected BlockMaskCondition loadMask ()

Method loadMask.

BlockPlacementMaskJsonLoader

public new BlockPlacementMaskJsonLoader ((SeedString)

Method BlockPlacementMaskJsonLoader.

Parameters:
(SeedString (SeedString

loadAnchor

protected Vector2d loadAnchor ()

Method loadAnchor.

Vector2dJsonLoader

public new Vector2dJsonLoader ((SeedString)

Method Vector2dJsonLoader.

Parameters:
(SeedString (SeedString

loadSpawnOffset

protected Vector3d loadSpawnOffset ()

Method loadSpawnOffset.

Vector3dJsonLoader

public new Vector3dJsonLoader ((SeedString)

Method Vector3dJsonLoader.

Parameters:
(SeedString (SeedString

loadEnvironment

protected int loadEnvironment ()

Method loadEnvironment.

Error

public new Error (String.format("Error while looking up environment \"%s\"!", environmentId)

Method Error.

Parameters:
String.format("Error while looking up environment \"%s\"!"
environmentId environmentId

loadFitHeightmap

protected boolean loadFitHeightmap ()

Method loadFitHeightmap.

loadSubmerge

protected boolean loadSubmerge ()

Method loadSubmerge.

loadOnWater

protected boolean loadOnWater ()

Method loadOnWater.

loadMaxDistance

protected double loadMaxDistance ()

Method loadMaxDistance.

loadMaxAttempts

protected int loadMaxAttempts ()

Method loadMaxAttempts.

loadExclusionRadius

protected double loadExclusionRadius ()

Method loadExclusionRadius.

loadIsSpawn

protected boolean loadIsSpawn ()

Method loadIsSpawn.

loadZoneBorderExclusion

protected double loadZoneBorderExclusion ()

Method loadZoneBorderExclusion.

loadShowOnMap

protected boolean loadShowOnMap ()

Method loadShowOnMap.