Class CavePrefabConfigJsonLoader
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<SeedStringResource,CavePrefabContainer.CavePrefabEntry.CavePrefabConfig>
com.hypixel.hytale.procedurallib.json.JsonLoader<SeedStringResource,CavePrefabContainer.CavePrefabEntry.CavePrefabConfig>
com.hypixel.hytale.server.worldgen.loader.cave.CavePrefabConfigJsonLoader
public class CavePrefabConfigJsonLoader
extends JsonLoader<SeedStringResource,CavePrefabContainer.CavePrefabEntry.CavePrefabConfig>
-
Nested Class Summary
Nested Classes -
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
ConstructorsConstructorDescriptionCavePrefabConfigJsonLoader(SeedString<SeedStringResource> seed, Path dataFolder, com.google.gson.JsonElement json, ZoneFileContext zoneContext) -
Method Summary
Modifier and TypeMethodDescriptionload()protected IIntConditionprotected BlockMaskConditionprotected IDoubleCoordinateHashSupplierprotected ICoordinateRndConditionprotected IDoubleRangeprotected ICoordinateConditionprotected CavePrefabPlacementprotected PrefabRotation[]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
-
zoneContext
-
-
Constructor Details
-
CavePrefabConfigJsonLoader
public CavePrefabConfigJsonLoader(@Nonnull SeedString<SeedStringResource> seed, Path dataFolder, com.google.gson.JsonElement json, ZoneFileContext zoneContext)
-
-
Method Details
-
load
- Specified by:
loadin classLoader<SeedStringResource,CavePrefabContainer.CavePrefabEntry.CavePrefabConfig>
-
loadRotations
-
loadPlacement
-
loadBiomeMask
-
loadBlockMask
-
loadIterations
-
loadDisplacementSupplier
-
loadNoiseCondition
-
loadHeightCondition
-