TintContainerJsonLoader

public class TintContainerJsonLoader extends JsonLoader

Class TintContainerJsonLoader. Provides tintcontainerjsonloader functionality for the Hytale server.

java.lang.Object > JsonLoader > TintContainerJsonLoader

Field Summary

arr

final JsonArray arr

Field arr.

entries

final List entries

Field entries.

colorMapping

final IWeightedMap colorMapping

Field colorMapping.

builder

final WeightedMap.Builder builder

Field builder.

colorsElement

final JsonElement colorsElement

Field colorsElement.

colors

final JsonArray colors

Field colors.

weights

final JsonArray weights

Field weights.

color

final int color

Field color.

weight

final double weight

Field weight.

color2

final int color2

Field color2.

Method Detail

TintContainerJsonLoader

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

Method TintContainerJsonLoader.

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

load

public TintContainer load ()

Method load.

TintContainer

public new TintContainer (this.loadDefault()

Method TintContainer.

Parameters:
this.loadDefault( this.loadDefault(

loadDefault

protected TintContainer.DefaultTintContainerEntry loadDefault ()

Method loadDefault.

if

public else if (this.json.isJsonObject()

Method if.

Parameters:
this.json.isJsonObject( this.json.isJsonObject(

DefaultTintContainerEntryJsonLoader

public new DefaultTintContainerEntryJsonLoader ((SeedString)

Method DefaultTintContainerEntryJsonLoader.

Parameters:
(SeedString (SeedString

loadEntries

protected List loadEntries ()

Method loadEntries.

TintContainerEntryJsonLoader

public new TintContainerEntryJsonLoader ((SeedString)

Method TintContainerEntryJsonLoader.

Parameters:
(SeedString (SeedString

Error

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

Method Error.

Parameters:
String.format("Failed to load TintContainerEntry #%s"
i i

loadColorMapping

protected IWeightedMap loadColorMapping ()

Method loadColorMapping.

loadValueNoise

protected NoiseProperty loadValueNoise ()

Method loadValueNoise.

NoisePropertyJsonLoader

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

Method NoisePropertyJsonLoader.

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

loadMapCondition

protected ICoordinateCondition loadMapCondition ()

Method loadMapCondition.

NoiseMaskConditionJsonLoader

public new NoiseMaskConditionJsonLoader (this.seed, this.dataFolder, this.get("NoiseMask")

Method NoiseMaskConditionJsonLoader.

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