Class BranchNoiseJsonLoader<T extends SeedResource>
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<T,BranchNoise>
com.hypixel.hytale.procedurallib.json.JsonLoader<T,BranchNoise>
com.hypixel.hytale.procedurallib.json.AbstractCellJitterJsonLoader<T,BranchNoise>
com.hypixel.hytale.procedurallib.json.BranchNoiseJsonLoader<T>
public class BranchNoiseJsonLoader<T extends SeedResource>
extends AbstractCellJitterJsonLoader<T,BranchNoise>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
JsonLoader.Constants -
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
ConstructorsConstructorDescriptionBranchNoiseJsonLoader(SeedString<T> seed, Path dataFolder, com.google.gson.JsonElement json) -
Method Summary
Modifier and TypeMethodDescriptionprotected static CellDistanceFunctiongetCellDistanceFunction(CellType cellType) protected static CellPointFunctiongetCellPointFunction(CellType cellType) load()protected doubleloadDouble(String key, double def) protected <E extends Enum<E>>
Eprotected CellTypeprotected PointEvaluatorloadLineEvaluator(CellDistanceFunction parentFunction, CellPointFunction linePointFunction, double lineScale) protected CellTypeprotected IIntConditionprotected DistanceNoise.Distance2Functionprotected PointEvaluatorprotected IDoubleRangeMethods inherited from class com.hypixel.hytale.procedurallib.json.AbstractCellJitterJsonLoader
loadDefaultJitter, loadJitter, loadJitter, loadJitterX, loadJitterY, loadJitterZMethods 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
-
BranchNoiseJsonLoader
-
-
Method Details
-
load
- Specified by:
loadin classLoader<T extends SeedResource,BranchNoise>
-
loadParentCellType
-
loadLineCellType
-
loadParentEvaluator
-
loadParentDensity
-
loadParentDistance2Function
-
loadParentFormula
-
loadLineEvaluator
@Nonnull protected PointEvaluator loadLineEvaluator(@Nonnull CellDistanceFunction parentFunction, @Nonnull CellPointFunction linePointFunction, double lineScale) -
loadDouble
-
loadRange
-
loadEnum
-
getCellDistanceFunction
-
getCellPointFunction
-