public class ZoneCustomBiomesJsonLoader extends JsonLoader
Class ZoneCustomBiomesJsonLoader. Provides zonecustombiomesjsonloader functionality for the Hytale server.
java.lang.Object > JsonLoader > ZoneCustomBiomesJsonLoader
Field Summary
biomes
final
CustomBiome[]
biomes
Field biomes.
biomeContext
final
BiomeFileContext
biomeContext
Field biomeContext.
biomeJson
final
JsonElement
biomeJson
Field biomeJson.
biome
final
CustomBiome
biome
Field biome.
reference
final
CustomBiomeGenerator
reference
Field reference.
Method Detail
ZoneCustomBiomesJsonLoader
public
public
ZoneCustomBiomesJsonLoader
(final SeedString seed, final Path dataFolder, final JsonElement json, final ZoneFileContext zoneContext, final Biome[] tileBiomes)
Method ZoneCustomBiomesJsonLoader.
- Parameters:
final SeedStringseedfinal PathdataFolderfinal JsonElementjsonfinal ZoneFileContextzoneContextfinal Biome[]tileBiomes
load
public
CustomBiome[]
load
()
Method load.
JsonReader
public
new
JsonReader
(Files.newBufferedReader(biomeContext.getPath()
Method JsonReader.
- Parameters:
Files.newBufferedReader(biomeContext.getPath(Files.newBufferedReader(biomeContext.getPath(
CustomBiomeJsonLoader
public
)
new
CustomBiomeJsonLoader
((SeedStringMethod CustomBiomeJsonLoader.
- Parameters:
(SeedString(SeedString
NullPointerException
public
new
NullPointerException
(biomeContext.getPath()
Method NullPointerException.
- Parameters:
biomeContext.getPath(biomeContext.getPath(
Error
public
new
Error
(String.format("Error while loading custom biome \"%s\" from \"%s\"", biomeContext.getName()
Method Error.
- Parameters:
String.format("Error while loading custom biome \"%s\" from\"%s\""biomeContext.getName(biomeContext.getName(