public class CavePrefabConfigJsonLoader extends JsonLoader
Class CavePrefabConfigJsonLoader. Provides caveprefabconfigjsonloader functionality for the Hytale server.
java.lang.Object > JsonLoader > CavePrefabConfigJsonLoader
Field Summary
element
final
JsonElement
element
Field element.
array
final
JsonArray
array
Field array.
name
final
String
name
Field name.
name2
final
String
name2
Field name2.
context
final
ZoneFileContext
context
Field context.
Method Detail
CavePrefabConfigJsonLoader
public
public
CavePrefabConfigJsonLoader
(@Nonnull final SeedString seed, final Path dataFolder, final JsonElement json, final ZoneFileContext zoneContext)
Method CavePrefabConfigJsonLoader.
- Parameters:
@Nonnull final SeedStringseedfinal PathdataFolderfinal JsonElementjsonfinal ZoneFileContextzoneContext
load
public
CavePrefabContainer.CavePrefabEntry.CavePrefabConfig
load
()
Method load.
loadRotations
protected
PrefabRotation[]
loadRotations
()
Method loadRotations.
Error
public
new
Error
(String.format(Constants.ERROR_ROTATIONS_UNKOWN, name)
Method Error.
- Parameters:
String.format(Constants.ERROR_ROTATIONS_UNKOWNString.format(Constants.ERROR_ROTATIONS_UNKOWNnamename
BiomeMaskJsonLoader
public
)
new
BiomeMaskJsonLoader
((SeedStringMethod BiomeMaskJsonLoader.
- Parameters:
(SeedString(SeedString
BlockPlacementMaskJsonLoader
public
)
new
BlockPlacementMaskJsonLoader
((SeedStringMethod BlockPlacementMaskJsonLoader.
- Parameters:
(SeedString(SeedString
DoubleRangeJsonLoader
public
new
DoubleRangeJsonLoader
(this.seed, this.dataFolder, this.get("Iterations")
Method DoubleRangeJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.get("Iterations"this.get("Iterations"
loadDisplacementSupplier
Method loadDisplacementSupplier.
DoubleRangeCoordinateHashSupplier
public
new
DoubleRangeCoordinateHashSupplier
(new DoubleRangeJsonLoader(this.seed, this.dataFolder, this.get("Displacement")
Method DoubleRangeCoordinateHashSupplier.
- Parameters:
newDoubleRangeJsonLoader(this.seedthis.dataFolderthis.dataFolderthis.get("Displacement"this.get("Displacement"
NoiseMaskConditionJsonLoader
public
new
NoiseMaskConditionJsonLoader
(this.seed, this.dataFolder, this.get("NoiseMask")
Method NoiseMaskConditionJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.get("NoiseMask"this.get("NoiseMask"
loadHeightCondition
Method loadHeightCondition.
HeightCondition
public
new
HeightCondition
(new HeightThresholdInterpreterJsonLoader(this.seed, this.dataFolder, this.get("HeightThreshold")
Method HeightCondition.
- Parameters:
newHeightThresholdInterpreterJsonLoader(this.seedthis.dataFolderthis.dataFolderthis.get("HeightThreshold"this.get("HeightThreshold"