Class BlendNoisePropertyJsonLoader<K extends SeedResource>
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<K,BlendNoiseProperty>
com.hypixel.hytale.procedurallib.json.JsonLoader<K,BlendNoiseProperty>
com.hypixel.hytale.procedurallib.json.BlendNoisePropertyJsonLoader<K>
public class BlendNoisePropertyJsonLoader<K extends SeedResource>
extends JsonLoader<K,BlendNoiseProperty>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
jsonFields inherited from class com.hypixel.hytale.procedurallib.json.Loader
dataFolder, seed -
Constructor Summary
ConstructorsConstructorDescriptionBlendNoisePropertyJsonLoader(SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json) -
Method Summary
Modifier and TypeMethodDescriptionload()protected NoisePropertyprotected NoiseProperty[]protected double[]protected static voidvalidate(NoiseProperty[] noises, double[] thresholds) Methods inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
error, error, get, getRaw, has, isBoolean, isNumber, loadFile, loadFileConstructor, loadFileElem, mustGet, mustGet, mustGetArray, mustGetBool, mustGetNumber, mustGetObject, mustGetStringMethods inherited from class com.hypixel.hytale.procedurallib.json.Loader
getDataFolder, getSeed
-
Constructor Details
-
BlendNoisePropertyJsonLoader
public BlendNoisePropertyJsonLoader(SeedString<K> seed, Path dataFolder, @Nullable com.google.gson.JsonElement json)
-
-
Method Details
-
load
- Specified by:
loadin classLoader<K extends SeedResource,BlendNoiseProperty>
-
loadAlpha
-
loadNoise
-
loadThresholds
protected double[] loadThresholds() -
validate
-