public class PointGeneratorJsonLoader
Class PointGeneratorJsonLoader. Provides pointgeneratorjsonloader functionality for the Hytale server.
java.lang.Object > PointGeneratorJsonLoader
Field Summary
pointGenerator
final
PointGenerator
pointGenerator
Field pointGenerator.
rotation
final
CoordinateRotator
rotation
Field rotation.
overwritten
final
SeedString>
overwritten
Field overwritten.
seedResource
final
K
seedResource
Field seedResource.
pointEvaluator
final
PointEvaluator
pointEvaluator
Field pointEvaluator.
Method Detail
PointGeneratorJsonLoader
public
public
PointGeneratorJsonLoader
(final SeedString seed, final Path dataFolder, final JsonElement json)
Method PointGeneratorJsonLoader.
- Parameters:
final SeedStringseedfinal PathdataFolderfinal JsonElementjson
ScaledPointGenerator
public
new
ScaledPointGenerator
(pointGenerator, this.get("Scale")
Method ScaledPointGenerator.
- Parameters:
pointGeneratorpointGeneratorthis.get("Scale"this.get("Scale"
DistortedPointGenerator
public
new
DistortedPointGenerator
(generator, new CoordinateRandomizerJsonLoader(this.seed, this.dataFolder, this.get("Randomizer")
Method DistortedPointGenerator.
- Parameters:
generatorgeneratornewCoordinateRandomizerJsonLoader(this.seedthis.dataFolderthis.dataFolderthis.get("Randomizer"this.get("Randomizer"
CoordinateRotatorJsonLoader
public
new
CoordinateRotatorJsonLoader
(this.seed, this.dataFolder, this.get("Rotate")
Method CoordinateRotatorJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.get("Rotate"this.get("Rotate"
loadSeed
protected
int
loadSeed
()
Method loadSeed.
newPointGenerator
protected
PointGenerator
newPointGenerator
(final int seedOffset, final CellDistanceFunction cellDistanceFunction)
Method newPointGenerator.
- Parameters:
final intseedOffsetfinal CellDistanceFunctioncellDistanceFunction
loadCellDistanceFunction
Method loadCellDistanceFunction.
CellDistanceFunctionJsonLoader
public
new
CellDistanceFunctionJsonLoader
(this.seed, this.dataFolder, this.json, this.loadPointDistanceFunction()
Method CellDistanceFunctionJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.jsonthis.jsonthis.loadPointDistanceFunction(this.loadPointDistanceFunction(
PointEvaluatorJsonLoader
public
new
PointEvaluatorJsonLoader
(this.seed, this.dataFolder, this.json)
Method PointEvaluatorJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.jsonthis.json
loadPointDistanceFunction
Method loadPointDistanceFunction.