NoiseBlockArrayJsonLoader

public class NoiseBlockArrayJsonLoader extends JsonLoader

Class NoiseBlockArrayJsonLoader. Provides noiseblockarrayjsonloader functionality for the Hytale server.

java.lang.Object > JsonLoader > NoiseBlockArrayJsonLoader

Field Summary

entriesArray

final JsonArray entriesArray

Field entriesArray.

entries

final NoiseBlockArray.Entry[] entries

Field entries.

parts

final String[] parts

Field parts.

blockEntry

final BlockFluidEntry blockEntry

Field blockEntry.

blockName

final String blockName

Field blockName.

blockEntry2

final BlockFluidEntry blockEntry2

Field blockEntry2.

repetitions2

final IDoubleRange repetitions2

Field repetitions2.

noise

final NoiseProperty noise

Field noise.

key

final String key

Field key.

index

final int index

Field index.

key2

final BlockPattern.BlockEntry key2

Field key2.

Method Detail

NoiseBlockArrayJsonLoader

public public NoiseBlockArrayJsonLoader (@Nonnull final SeedString seed, final Path dataFolder, final JsonElement json)

Method NoiseBlockArrayJsonLoader.

Parameters:
@Nonnull final SeedString seed
final Path dataFolder
final JsonElement json

load

public NoiseBlockArray load ()

Method load.

NoiseBlockArray

public new NoiseBlockArray (new NoiseBlockArray.Entry[] { new EntryJsonLoader((SeedString)

Method NoiseBlockArray.

Parameters:
new NoiseBlockArray.Entry[] { new EntryJsonLoader((SeedString

Error

public new Error (String.format("Failed to load block array entry #%s", i)

Method Error.

Parameters:
String.format("Failed to load block array entry #%s"
i i

loadEntry

protected NoiseBlockArray.Entry loadEntry (final JsonElement element, final int i)

Method loadEntry.

Parameters:
final JsonElement element
final int i

EntryJsonLoader

public new EntryJsonLoader ((SeedString)

Method EntryJsonLoader.

Parameters:
(SeedString (SeedString

loadRepetitions

protected IDoubleRange loadRepetitions ()

Method loadRepetitions.

DoubleRangeJsonLoader

public new DoubleRangeJsonLoader (this.seed, this.dataFolder, this.get("Repeat")

Method DoubleRangeJsonLoader.

Parameters:
this.seed this.seed
this.dataFolder this.dataFolder
this.get("Repeat" this.get("Repeat"

loadNoise

protected NoiseProperty loadNoise ()

Method loadNoise.

NoisePropertyJsonLoader

public new NoisePropertyJsonLoader (this.seed, this.dataFolder, this.get("RepeatNoise")

Method NoisePropertyJsonLoader.

Parameters:
this.seed this.seed
this.dataFolder this.dataFolder
this.get("RepeatNoise" this.get("RepeatNoise"

resolveBlockId

protected BlockFluidEntry resolveBlockId (@Nonnull final String name)

Method resolveBlockId.

Parameters:
@Nonnull final String name