CavePrefabConfigJsonLoader

public class CavePrefabConfigJsonLoader extends JsonLoader

Class CavePrefabConfigJsonLoader. Provides caveprefabconfigjsonloader functionality for the Hytale server.

java.lang.Object > JsonLoader > CavePrefabConfigJsonLoader

Field Summary

element

final JsonElement element

Field element.

array

final JsonArray array

Field array.

name

final String name

Field name.

name2

final String name2

Field name2.

context

final ZoneFileContext context

Field context.

Method Detail

CavePrefabConfigJsonLoader

public public CavePrefabConfigJsonLoader (@Nonnull final SeedString seed, final Path dataFolder, final JsonElement json, final ZoneFileContext zoneContext)

Method CavePrefabConfigJsonLoader.

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

load

public CavePrefabContainer.CavePrefabEntry.CavePrefabConfig load ()

Method load.

loadRotations

protected PrefabRotation[] loadRotations ()

Method loadRotations.

Error

public new Error (String.format(Constants.ERROR_ROTATIONS_UNKOWN, name)

Method Error.

Parameters:
String.format(Constants.ERROR_ROTATIONS_UNKOWN String.format(Constants.ERROR_ROTATIONS_UNKOWN
name name

loadPlacement

protected CavePrefabPlacement loadPlacement ()

Method loadPlacement.

loadBiomeMask

protected IIntCondition loadBiomeMask ()

Method loadBiomeMask.

BiomeMaskJsonLoader

public new BiomeMaskJsonLoader ((SeedString)

Method BiomeMaskJsonLoader.

Parameters:
(SeedString (SeedString

loadBlockMask

protected BlockMaskCondition loadBlockMask ()

Method loadBlockMask.

BlockPlacementMaskJsonLoader

public new BlockPlacementMaskJsonLoader ((SeedString)

Method BlockPlacementMaskJsonLoader.

Parameters:
(SeedString (SeedString

loadIterations

protected IDoubleRange loadIterations ()

Method loadIterations.

DoubleRangeJsonLoader

public new DoubleRangeJsonLoader (this.seed, this.dataFolder, this.get("Iterations")

Method DoubleRangeJsonLoader.

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

loadDisplacementSupplier

protected IDoubleCoordinateHashSupplier loadDisplacementSupplier ()

Method loadDisplacementSupplier.

DoubleRangeCoordinateHashSupplier

public new DoubleRangeCoordinateHashSupplier (new DoubleRangeJsonLoader(this.seed, this.dataFolder, this.get("Displacement")

Method DoubleRangeCoordinateHashSupplier.

Parameters:
new DoubleRangeJsonLoader(this.seed
this.dataFolder this.dataFolder
this.get("Displacement" this.get("Displacement"

loadNoiseCondition

protected ICoordinateCondition loadNoiseCondition ()

Method loadNoiseCondition.

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"