Class PrefabContainerJsonLoader.PrefabContainerEntryJsonLoader
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<SeedStringResource,PrefabContainer.PrefabContainerEntry>
com.hypixel.hytale.procedurallib.json.JsonLoader<SeedStringResource,PrefabContainer.PrefabContainerEntry>
com.hypixel.hytale.server.worldgen.loader.container.PrefabContainerJsonLoader.PrefabContainerEntryJsonLoader
- Enclosing class:
PrefabContainerJsonLoader
public static class PrefabContainerJsonLoader.PrefabContainerEntryJsonLoader
extends JsonLoader<SeedStringResource,PrefabContainer.PrefabContainerEntry>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
JsonLoader.Constants -
Field Summary
FieldsFields inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
jsonFields inherited from class com.hypixel.hytale.procedurallib.json.Loader
dataFolder, seed -
Constructor Summary
ConstructorsConstructorDescriptionPrefabContainerEntryJsonLoader(SeedString<SeedStringResource> seed, Path dataFolder, com.google.gson.JsonElement json, FileLoadingContext context) -
Method Summary
Methods inherited from class com.hypixel.hytale.procedurallib.json.JsonLoader
error, error, get, getRaw, has, isBoolean, isNumber, loadFile, loadFileConstructor, loadFileElem, mustGet, mustGet, mustGetArray, mustGetBool, mustGetNumber, mustGetObject, mustGetStringMethods inherited from class com.hypixel.hytale.procedurallib.json.Loader
getDataFolder, getSeed
-
Field Details
-
context
-
-
Constructor Details
-
PrefabContainerEntryJsonLoader
public PrefabContainerEntryJsonLoader(@Nonnull SeedString<SeedStringResource> seed, Path dataFolder, com.google.gson.JsonElement json, FileLoadingContext context)
-
-
Method Details
-
load
- Specified by:
loadin classLoader<SeedStringResource,PrefabContainer.PrefabContainerEntry>
-
loadEnvironment
protected int loadEnvironment()
-