Class NoiseHeightThresholdInterpreterJsonLoader<K extends SeedResource>
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<K,NoiseHeightThresholdInterpreter>
com.hypixel.hytale.procedurallib.json.JsonLoader<K,NoiseHeightThresholdInterpreter>
com.hypixel.hytale.procedurallib.json.NoiseHeightThresholdInterpreterJsonLoader<K>
public class NoiseHeightThresholdInterpreterJsonLoader<K extends SeedResource>
extends JsonLoader<K,NoiseHeightThresholdInterpreter>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Field Summary
FieldsFields inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
jsonFields inherited from class com.hypixel.hytale.procedurallib.json.Loader
dataFolder, seed -
Constructor Summary
ConstructorsConstructorDescriptionNoiseHeightThresholdInterpreterJsonLoader(SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json, int length) -
Method Summary
Modifier and TypeMethodDescriptionload()protected IHeightThresholdInterpreter[]protected float[]loadKeys()protected NoisePropertystatic booleanshouldHandle(com.google.gson.JsonObject jsonObject) 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
-
Field Details
-
length
protected final int length
-
-
Constructor Details
-
NoiseHeightThresholdInterpreterJsonLoader
public NoiseHeightThresholdInterpreterJsonLoader(@Nonnull SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json, int length)
-
-
Method Details
-
load
- Specified by:
loadin classLoader<K extends SeedResource,NoiseHeightThresholdInterpreter>
-
loadNoise
-
loadInterpreters
-
loadKeys
protected float[] loadKeys() -
shouldHandle
public static boolean shouldHandle(@Nonnull com.google.gson.JsonObject jsonObject)
-