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 SeedStringseedfinal PathdataFolderfinal JsonElementjson
switch
public
return
switch
(this.loadCellType()
Method switch.
- Parameters:
this.loadCellType(this.loadCellType(
MeshNoise
public
new
MeshNoise
(this.loadDensity()
Method MeshNoise.
- Parameters:
this.loadDensity(this.loadDensity(
HexMeshNoise
public
new
HexMeshNoise
(this.loadDensity()
Method HexMeshNoise.
- Parameters:
this.loadDensity(this.loadDensity(
loadThickness
protected
double
loadThickness
()
Method loadThickness.
DoubleThresholdCondition
public
new
DoubleThresholdCondition
(new DoubleThresholdJsonLoader(this.seed, this.dataFolder, this.get("Density")
Method DoubleThresholdCondition.
- Parameters:
newDoubleThresholdJsonLoader(this.seedthis.dataFolderthis.dataFolderthis.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 Stringkeyfinal booleandefaulValue