Class PointGeneratorJsonLoader<K extends SeedResource>
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<K,IPointGenerator>
com.hypixel.hytale.procedurallib.json.JsonLoader<K,IPointGenerator>
com.hypixel.hytale.procedurallib.json.PointGeneratorJsonLoader<K>
-
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
ConstructorsConstructorDescriptionPointGeneratorJsonLoader(SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json) -
Method Summary
Modifier and TypeMethodDescriptionload()protected CellDistanceFunctionprotected PointDistanceFunctionprotected PointEvaluatorprotected intloadSeed()protected PointGeneratornewPointGenerator(int seedOffset, CellDistanceFunction cellDistanceFunction) 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
-
PointGeneratorJsonLoader
public PointGeneratorJsonLoader(SeedString<K> seed, Path dataFolder, com.google.gson.JsonElement json)
-
-
Method Details
-
load
- Specified by:
loadin classLoader<K extends SeedResource,IPointGenerator>
-
loadSeed
protected int loadSeed() -
newPointGenerator
@Nonnull protected PointGenerator newPointGenerator(int seedOffset, CellDistanceFunction cellDistanceFunction) -
loadCellDistanceFunction
-
loadPointEvaluator
-
loadPointDistanceFunction
-