ZoneBiomesJsonLoader

public class ZoneBiomesJsonLoader extends JsonLoader

Class ZoneBiomesJsonLoader. Provides zonebiomesjsonloader functionality for the Hytale server.

java.lang.Object > JsonLoader > ZoneBiomesJsonLoader

Field Summary

builder

final WeightedMap.Builder builder

Field builder.

biome

final TileBiome biome

Field biome.

biomeJson

final JsonElement biomeJson

Field biomeJson.

Method Detail

ZoneBiomesJsonLoader

public public ZoneBiomesJsonLoader (final SeedString seed, final Path dataFolder, final JsonElement json, final ZoneFileContext zone)

Method ZoneBiomesJsonLoader.

Parameters:
final SeedString seed
final Path dataFolder
final JsonElement json
final ZoneFileContext zone

load

public IWeightedMap load ()

Method load.

loadBiome

protected TileBiome loadBiome (@Nonnull final BiomeFileContext biomeContext)

Method loadBiome.

Parameters:
@Nonnull final BiomeFileContext biomeContext

JsonReader

public new JsonReader (Files.newBufferedReader(biomeContext.getPath()

Method JsonReader.

Parameters:
Files.newBufferedReader(biomeContext.getPath( Files.newBufferedReader(biomeContext.getPath(

TileBiomeJsonLoader

public new TileBiomeJsonLoader ((SeedString)

Method TileBiomeJsonLoader.

Parameters:
(SeedString (SeedString

Error

public new Error (String.format("Error while loading tile biome \"%s\" from \"%s\"", biomeContext.getName()

Method Error.

Parameters:
String.format("Error while loading tile biome \"%s\" from \"%s\""
biomeContext.getName( biomeContext.getName(