Class ZoneFileContext
java.lang.Object
com.hypixel.hytale.server.worldgen.loader.context.FileContext<FileLoadingContext>
com.hypixel.hytale.server.worldgen.loader.context.ZoneFileContext
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.hypixel.hytale.server.worldgen.loader.context.FileContext
FileContext.Registry<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FileContext.Registry<BiomeFileContext> private final FileContext.Registry<BiomeFileContext> -
Constructor Summary
ConstructorsConstructorDescriptionZoneFileContext(int id, String name, Path filepath, FileLoadingContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected BiomeFileContextcreateBiome(int id, String name, Path path, BiomeFileContext.Type type) protected BiomeFileContextcreateBiome(String name, Path path, BiomeFileContext.Type type) matchContext(com.google.gson.JsonElement json, String key) matchContext(String filePath) Methods inherited from class com.hypixel.hytale.server.worldgen.loader.context.FileContext
getId, getName, getParentContext, getPath
-
Field Details
-
tileBiomes
-
customBiomes
-
-
Constructor Details
-
ZoneFileContext
-
-
Method Details
-
getTileBiomes
-
getCustomBiomes
-
getBiomes
@Nonnull public FileContext.Registry<BiomeFileContext> getBiomes(@Nonnull BiomeFileContext.Type type) -
matchContext
@Nonnull public ZoneFileContext matchContext(@Nullable com.google.gson.JsonElement json, String key) -
matchContext
-
createBiome
-
createBiome
@Nonnull protected BiomeFileContext createBiome(int id, String name, Path path, BiomeFileContext.Type type)
-