Class CellDistanceFunctionJsonLoader<K extends SeedResource>
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<K,CellDistanceFunction>
com.hypixel.hytale.procedurallib.json.JsonLoader<K,CellDistanceFunction>
com.hypixel.hytale.procedurallib.json.CellDistanceFunctionJsonLoader<K>
public class CellDistanceFunctionJsonLoader<K extends SeedResource>
extends JsonLoader<K,CellDistanceFunction>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
JsonLoader.Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MeasurementModeprotected final PointDistanceFunctionFields inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
jsonFields inherited from class com.hypixel.hytale.procedurallib.json.Loader
dataFolder, seed -
Constructor Summary
ConstructorsConstructorDescriptionCellDistanceFunctionJsonLoader(SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json, MeasurementMode measurementMode, PointDistanceFunction pointDistanceFunction) CellDistanceFunctionJsonLoader(SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json, PointDistanceFunction pointDistanceFunction) -
Method Summary
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
-
measurementMode
-
pointDistanceFunction
-
-
Constructor Details
-
CellDistanceFunctionJsonLoader
public CellDistanceFunctionJsonLoader(@Nonnull SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json, @Nullable PointDistanceFunction pointDistanceFunction) -
CellDistanceFunctionJsonLoader
public CellDistanceFunctionJsonLoader(@Nonnull SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json, MeasurementMode measurementMode, @Nullable PointDistanceFunction pointDistanceFunction)
-
-
Method Details
-
load
- Specified by:
loadin classLoader<K extends SeedResource,CellDistanceFunction>
-
loadCellType
-
loadDistanceFunction
-