Class UniquePrefabConfigurationJsonLoader
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<SeedStringResource,UniquePrefabConfiguration>
com.hypixel.hytale.procedurallib.json.JsonLoader<SeedStringResource,UniquePrefabConfiguration>
com.hypixel.hytale.server.worldgen.loader.prefab.unique.UniquePrefabConfigurationJsonLoader
public class UniquePrefabConfigurationJsonLoader
extends JsonLoader<SeedStringResource,UniquePrefabConfiguration>
-
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
ConstructorsConstructorDescriptionUniquePrefabConfigurationJsonLoader(SeedString<SeedStringResource> seed, Path dataFolder, com.google.gson.JsonElement json, ZoneFileContext zoneContext) -
Method Summary
Modifier and TypeMethodDescriptionload()protected Vector2dprotected IIntConditionprotected intprotected doubleprotected booleanprotected ICoordinateRndConditionprotected booleanprotected ICoordinateConditionprotected BlockMaskConditionloadMask()protected intprotected doubleprotected booleanprotected IBlockFluidConditionprotected PrefabRotation[]protected booleanprotected Vector3dprotected booleanprotected doubleMethods 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
-
UniquePrefabConfigurationJsonLoader
public UniquePrefabConfigurationJsonLoader(SeedString<SeedStringResource> seed, Path dataFolder, com.google.gson.JsonElement json, ZoneFileContext zoneContext)
-
-
Method Details
-
load
- Specified by:
loadin classLoader<SeedStringResource,UniquePrefabConfiguration>
-
loadParent
-
loadHeightThresholds
-
loadBiomeMask
-
loadRotations
-
loadMapCondition
-
loadMask
-
loadAnchor
-
loadSpawnOffset
-
loadEnvironment
protected int loadEnvironment() -
loadFitHeightmap
protected boolean loadFitHeightmap() -
loadSubmerge
protected boolean loadSubmerge() -
loadOnWater
protected boolean loadOnWater() -
loadMaxDistance
protected double loadMaxDistance() -
loadMaxAttempts
protected int loadMaxAttempts() -
loadExclusionRadius
protected double loadExclusionRadius() -
loadIsSpawn
protected boolean loadIsSpawn() -
loadZoneBorderExclusion
protected double loadZoneBorderExclusion() -
loadShowOnMap
protected boolean loadShowOnMap()
-