PointGeneratorJsonLoader

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 SeedString seed
final Path dataFolder
final JsonElement json

load

public IPointGenerator load ()

Method load.

ScaledPointGenerator

public new ScaledPointGenerator (pointGenerator, this.get("Scale")

Method ScaledPointGenerator.

Parameters:
pointGenerator pointGenerator
this.get("Scale" this.get("Scale"

DistortedPointGenerator

public new DistortedPointGenerator (generator, new CoordinateRandomizerJsonLoader(this.seed, this.dataFolder, this.get("Randomizer")

Method DistortedPointGenerator.

Parameters:
generator generator
new CoordinateRandomizerJsonLoader(this.seed
this.dataFolder this.dataFolder
this.get("Randomizer" this.get("Randomizer"

CoordinateRotatorJsonLoader

public new CoordinateRotatorJsonLoader (this.seed, this.dataFolder, this.get("Rotate")

Method CoordinateRotatorJsonLoader.

Parameters:
this.seed this.seed
this.dataFolder this.dataFolder
this.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 int seedOffset
final CellDistanceFunction cellDistanceFunction

loadCellDistanceFunction

protected CellDistanceFunction loadCellDistanceFunction ()

Method loadCellDistanceFunction.

CellDistanceFunctionJsonLoader

public new CellDistanceFunctionJsonLoader (this.seed, this.dataFolder, this.json, this.loadPointDistanceFunction()

Method CellDistanceFunctionJsonLoader.

Parameters:
this.seed this.seed
this.dataFolder this.dataFolder
this.json this.json
this.loadPointDistanceFunction( this.loadPointDistanceFunction(

loadPointEvaluator

protected PointEvaluator loadPointEvaluator ()

Method loadPointEvaluator.

PointEvaluatorJsonLoader

public new PointEvaluatorJsonLoader (this.seed, this.dataFolder, this.json)

Method PointEvaluatorJsonLoader.

Parameters:
this.seed this.seed
this.dataFolder this.dataFolder
this.json this.json

loadPointDistanceFunction

protected PointDistanceFunction loadPointDistanceFunction ()

Method loadPointDistanceFunction.