Class FileLoadingContext
java.lang.Object
com.hypixel.hytale.server.worldgen.loader.context.FileContext<FileLoadingContext>
com.hypixel.hytale.server.worldgen.loader.context.FileLoadingContext
-
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 intprivate final FileContext.Registry<PrefabCategory> private intprivate final FileContext.Registry<ZoneFileContext> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ZoneFileContextcreateZone(int id, String name, Path path) protected ZoneFileContextcreateZone(String name, Path path) getZones()protected intprotected intprotected intupdateBiomeId(int id) protected intupdateZoneId(int id) protected static voidvalidateId(int id, int currentId, String type) Methods inherited from class com.hypixel.hytale.server.worldgen.loader.context.FileContext
getId, getName, getPath
-
Field Details
-
zones
-
prefabCategories
-
zoneIdCounter
private int zoneIdCounter -
biomeIdCounter
private int biomeIdCounter
-
-
Constructor Details
-
FileLoadingContext
-
-
Method Details
-
getParentContext
- Overrides:
getParentContextin classFileContext<FileLoadingContext>
-
getZones
-
getPrefabCategories
-
createZone
-
createZone
-
nextZoneId
protected int nextZoneId() -
nextBiomeId
protected int nextBiomeId() -
updateZoneId
protected int updateZoneId(int id) -
updateBiomeId
protected int updateBiomeId(int id) -
validateId
-