BlendNoisePropertyJsonLoader

public class BlendNoisePropertyJsonLoader

Class BlendNoisePropertyJsonLoader. Provides blendnoisepropertyjsonloader functionality for the Hytale server.

java.lang.Object > BlendNoisePropertyJsonLoader

Field Summary

alpha

final NoiseProperty alpha

Field alpha.

noise

final NoiseProperty[] noise

Field noise.

thresholds

final double[] thresholds

Field thresholds.

noises

final NoiseProperty[] noises

Field noises.

values

final double[] values

Field values.

Method Detail

BlendNoisePropertyJsonLoader

public public BlendNoisePropertyJsonLoader (final SeedString seed, final Path dataFolder, @Nullable final JsonElement json)

Method BlendNoisePropertyJsonLoader.

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

load

public BlendNoiseProperty load ()

Method load.

loadAlpha

protected NoiseProperty loadAlpha ()

Method loadAlpha.

NoisePropertyJsonLoader

public new NoisePropertyJsonLoader (this.seed, this.dataFolder, this.mustGetObject("Alpha", null)

Method NoisePropertyJsonLoader.

Parameters:
this.seed this.seed
this.dataFolder this.dataFolder
this.mustGetObject("Alpha" this.mustGetObject("Alpha"
null null

loadNoise

protected NoiseProperty[] loadNoise ()

Method loadNoise.

loadThresholds

protected double[] loadThresholds ()

Method loadThresholds.

validate

static void validate (final NoiseProperty[] noises, final double[] thresholds)

Method validate.

Parameters:
final NoiseProperty[] noises
final double[] thresholds