public class CoordinateRandomizerJsonLoader
Class CoordinateRandomizerJsonLoader. Provides coordinaterandomizerjsonloader functionality for the Hytale server.
java.lang.Object > CoordinateRandomizerJsonLoader
Field Summary
rotation
final
CoordinateRotator
rotation
Field rotation.
array
final
JsonArray
array
Field array.
generators
final
CoordinateRandomizer.AmplitudeNoiseProperty[]
generators
Field generators.
object
final
JsonObject
object
Field object.
property
final
NoiseProperty
property
Field property.
amplitude
final
double
amplitude
Field amplitude.
Method Detail
CoordinateRandomizerJsonLoader
public
public
CoordinateRandomizerJsonLoader
(final SeedString seed, final Path dataFolder, final JsonElement json)
Method CoordinateRandomizerJsonLoader.
- Parameters:
final SeedStringseedfinal PathdataFolderfinal JsonElementjson
CoordinateRandomizer
public
new
CoordinateRandomizer
(this.loadGenerators(".X-Noise#%s")
Method CoordinateRandomizer.
- Parameters:
this.loadGenerators(".X-Noise#%s"this.loadGenerators(".X-Noise#%s"
CoordinateRotatorJsonLoader
public
new
CoordinateRotatorJsonLoader
(this.seed, this.dataFolder, this.get("Rotate")
Method CoordinateRotatorJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.get("Rotate"this.get("Rotate"
loadGenerators
protected
CoordinateRandomizer.AmplitudeNoiseProperty[]
loadGenerators
(@Nonnull final String seedSuffix)
Method loadGenerators.
- Parameters:
@Nonnull final StringseedSuffix
NoisePropertyJsonLoader
public
new
NoisePropertyJsonLoader
(this.seed.alternateOriginal(String.format(seedSuffix, i)
Method NoisePropertyJsonLoader.
- Parameters:
this.seed.alternateOriginal(String.format(seedSuffixthis.seed.alternateOriginal(String.format(seedSuffixii