CoverContainerJsonLoader

public class CoverContainerJsonLoader extends JsonLoader

Class CoverContainerJsonLoader. Provides covercontainerjsonloader functionality for the Hytale server.

java.lang.Object > JsonLoader > CoverContainerJsonLoader

Field Summary

coversArray

final JsonArray coversArray

Field coversArray.

coversObject

final JsonObject coversObject

Field coversObject.

coversObject2

final JsonObject coversObject2

Field coversObject2.

types

final ResolvedBlockArray types

Field types.

offsets

final int[] offsets

Field offsets.

weights

final JsonArray weights

Field weights.

builder

final WeightedMap.Builder builder

Field builder.

blockEntry

final BlockFluidEntry blockEntry

Field blockEntry.

offset

final int offset

Field offset.

weight

final double weight

Field weight.

entry

final CoverContainer.CoverContainerEntry.CoverContainerEntryPart entry

Field entry.

offsetElement

final JsonElement offsetElement

Field offsetElement.

offsetArray

final JsonArray offsetArray

Field offsetArray.

blockArray

final ResolvedBlockArray blockArray

Field blockArray.

biomeSet

final LongSet biomeSet

Field biomeSet.

Method Detail

CoverContainerJsonLoader

public public CoverContainerJsonLoader (final SeedString seed, final Path dataFolder, final JsonElement json)

Method CoverContainerJsonLoader.

Parameters:
final SeedString seed
final Path dataFolder
final JsonElement json

load

public CoverContainer load ()

Method load.

if

public else if (this.json.isJsonArray()

Method if.

Parameters:
this.json.isJsonArray( this.json.isJsonArray(

CoverContainerEntryJsonLoader

public new CoverContainerEntryJsonLoader ((SeedString)

Method CoverContainerEntryJsonLoader.

Parameters:
(SeedString (SeedString

loadEntries

protected IWeightedMap loadEntries ()

Method loadEntries.

ResolvedBlockArrayJsonLoader

public new ResolvedBlockArrayJsonLoader ((SeedString)

Method ResolvedBlockArrayJsonLoader.

Parameters:
(SeedString (SeedString

loadOffsetArray

protected int[] loadOffsetArray (final int length)

Method loadOffsetArray.

Parameters:
final int length

loadDensity

protected double loadDensity ()

Method loadDensity.

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"

loadHeightCondition

protected ICoordinateRndCondition loadHeightCondition ()

Method loadHeightCondition.

HeightCondition

public new HeightCondition (new HeightThresholdInterpreterJsonLoader(this.seed, this.dataFolder, this.get("HeightThreshold")

Method HeightCondition.

Parameters:
new HeightThresholdInterpreterJsonLoader(this.seed
this.dataFolder this.dataFolder
this.get("HeightThreshold" this.get("HeightThreshold"

loadParents

protected IBlockFluidCondition loadParents ()

Method loadParents.

loadOnWater

protected boolean loadOnWater ()

Method loadOnWater.