CaveNodeCoverEntryJsonLoader

public class CaveNodeCoverEntryJsonLoader extends JsonLoader

Class CaveNodeCoverEntryJsonLoader. Provides cavenodecoverentryjsonloader functionality for the Hytale server.

java.lang.Object > JsonLoader > CaveNodeCoverEntryJsonLoader

Field Summary

types

final ResolvedBlockArray types

Field types.

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 CaveNodeType.CaveNodeCoverEntry.Entry entry

Field entry.

blockArray

final ResolvedBlockArray blockArray

Field blockArray.

blockSet

final LongSet blockSet

Field blockSet.

Method Detail

CaveNodeCoverEntryJsonLoader

public public CaveNodeCoverEntryJsonLoader (@Nonnull final SeedString seed, final Path dataFolder, final JsonElement json)

Method CaveNodeCoverEntryJsonLoader.

Parameters:
@Nonnull final SeedString seed
final Path dataFolder
final JsonElement json

load

public CaveNodeType.CaveNodeCoverEntry load ()

Method load.

loadEntries

protected IWeightedMap loadEntries ()

Method loadEntries.

ResolvedBlockArrayJsonLoader

public new ResolvedBlockArrayJsonLoader ((SeedString)

Method ResolvedBlockArrayJsonLoader.

Parameters:
(SeedString (SeedString

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"

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"

loadDensityCondition

protected ICoordinateCondition loadDensityCondition ()

Method loadDensityCondition.

RandomCoordinateCondition

public new RandomCoordinateCondition (this.get("Density")

Method RandomCoordinateCondition.

Parameters:
this.get("Density" this.get("Density"

loadParentCondition

protected IBlockFluidCondition loadParentCondition ()

Method loadParentCondition.

loadOffset

protected int loadOffset ()

Method loadOffset.

loadAnchorType

protected CaveNodeType.CaveNodeCoverType loadAnchorType ()

Method loadAnchorType.