MeshNoiseJsonLoader

public class MeshNoiseJsonLoader

Class MeshNoiseJsonLoader. Provides meshnoisejsonloader functionality for the Hytale server.

java.lang.Object > MeshNoiseJsonLoader

Field Summary

defaultJitter

final double defaultJitter

Field defaultJitter.

Method Detail

MeshNoiseJsonLoader

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

Method MeshNoiseJsonLoader.

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

load

public NoiseFunction load ()

Method load.

switch

public return switch (this.loadCellType()

Method switch.

Parameters:
this.loadCellType( this.loadCellType(

loadGridMeshNoise

protected MeshNoise loadGridMeshNoise ()

Method loadGridMeshNoise.

MeshNoise

public new MeshNoise (this.loadDensity()

Method MeshNoise.

Parameters:
this.loadDensity( this.loadDensity(

loadHexMeshNoise

protected HexMeshNoise loadHexMeshNoise ()

Method loadHexMeshNoise.

HexMeshNoise

public new HexMeshNoise (this.loadDensity()

Method HexMeshNoise.

Parameters:
this.loadDensity( this.loadDensity(

loadCellType

protected CellType loadCellType ()

Method loadCellType.

loadThickness

protected double loadThickness ()

Method loadThickness.

loadDensity

protected IIntCondition loadDensity ()

Method loadDensity.

DoubleThresholdCondition

public new DoubleThresholdCondition (new DoubleThresholdJsonLoader(this.seed, this.dataFolder, this.get("Density")

Method DoubleThresholdCondition.

Parameters:
new DoubleThresholdJsonLoader(this.seed
this.dataFolder this.dataFolder
this.get("Density" this.get("Density"

loadLinesX

protected boolean loadLinesX ()

Method loadLinesX.

loadLinesY

protected boolean loadLinesY ()

Method loadLinesY.

loadLinesZ

protected boolean loadLinesZ ()

Method loadLinesZ.

loadLinesFlag

protected boolean loadLinesFlag (final String key, final boolean defaulValue)

Method loadLinesFlag.

Parameters:
final String key
final boolean defaulValue