public class ZoneFileContext extends FileContext
Class ZoneFileContext. Provides zonefilecontext functionality for the Hytale server.
java.lang.Object > FileContext > ZoneFileContext
Field Summary
element
final
JsonElement
element
Field element.
object
final
JsonObject
object
Field object.
filePath
final
String
filePath
Field filePath.
nameStart
final
int
nameStart
Field nameStart.
nameEnd
final
int
nameEnd
Field nameEnd.
zoneName
final
String
zoneName
Field zoneName.
zoneRegistry
final
Registry
zoneRegistry
Field zoneRegistry.
Method Detail
ZoneFileContext
public
public
ZoneFileContext
(final int id, final String name, final Path filepath, final FileLoadingContext context)
Method ZoneFileContext.
- Parameters:
final intidfinal Stringnamefinal Pathfilepathfinal FileLoadingContextcontext
getBiomes
Method getBiomes.
- Parameters:
@Nonnull final BiomeFileContext.Typetype
switch
public
return
switch
(type)
Method switch.
- Parameters:
typetype
matchContext
Method matchContext.
- Parameters:
@Nullable final JsonElementjsonfinal Stringkey
createBiome
protected
BiomeFileContext
createBiome
(final String name, final Path path, final BiomeFileContext.Type type)
Method createBiome.
- Parameters:
final Stringnamefinal Pathpathfinal BiomeFileContext.Typetype
BiomeFileContext
public
new
BiomeFileContext
(this.getParentContext()
Method BiomeFileContext.
- Parameters:
this.getParentContext(this.getParentContext(