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 SeedStringseedfinal PathdataFolder@Nullable final JsonElementjson
NoisePropertyJsonLoader
public
new
NoisePropertyJsonLoader
(this.seed, this.dataFolder, this.mustGetObject("Alpha", null)
Method NoisePropertyJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.mustGetObject("Alpha"this.mustGetObject("Alpha"nullnull
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[]noisesfinal double[]thresholds