Contents
Class PrefabPatternGeneratorJsonLoader
java.lang.Object
com.hypixel.hytale.procedurallib.json.Loader<SeedStringResource, PrefabPatternGenerator>
com.hypixel.hytale.procedurallib.json.JsonLoader<SeedStringResource, PrefabPatternGenerator>
com.hypixel.hytale.server.worldgen.loader.prefab.PrefabPatternGeneratorJsonLoader
public class PrefabPatternGeneratorJsonLoader
extends JsonLoader<SeedStringResource, PrefabPatternGenerator>
- Since:
- 22.07.2016
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class JsonLoader
JSON_ARR_LOADER, JSON_LOADER, JSON_OBJ_LOADER -
Constructor Summary
ConstructorsConstructorDescriptionPrefabPatternGeneratorJsonLoader(SeedString<SeedStringResource> seed, Path dataFolder, com.google.gson.JsonElement json, FileLoadingContext context) -
Method Summary
Modifier and TypeMethodDescriptionload()static PrefabRotation[]loadRotations(com.google.gson.JsonElement element) Methods inherited from class JsonLoader
get, getOrLoad, getRaw, hasMethods inherited from class Loader
getDataFolder, getSeed
-
Constructor Details
-
PrefabPatternGeneratorJsonLoader
public PrefabPatternGeneratorJsonLoader(@Nonnull SeedString<SeedStringResource> seed, Path dataFolder, com.google.gson.JsonElement json, FileLoadingContext context)
-
-
Method Details
-
load
- Specified by:
loadin classLoader<SeedStringResource, PrefabPatternGenerator>
-
loadRotations
@Nullable public static PrefabRotation[] loadRotations(@Nullable com.google.gson.JsonElement element)
-