Interface JsonConfigModule<T extends ConfigModuleState>
- All Superinterfaces:
Comparable<Module>, ConfigModule, JsonModule<T>, LostAndFoundFormattable, Module, StatefulConfigModule<T>, StatefulModule<T>
- All Known Implementing Classes:
DimensionPoolConfigModule, DimensionPoolConfigModule_SV1
public interface JsonConfigModule<T extends ConfigModuleState>
extends StatefulConfigModule<T>, JsonModule<T>
-
Field Summary
Fields inherited from interface JsonModule
GSON_BUILDER -
Method Summary
Methods inherited from interface ConfigModule
category, loadWithContext, saveWithContext, toLostAndFoundScopeStringMethods inherited from interface JsonModule
gson, load, loadAsCurrentVersion, loadFromJsonString, loadVersionedData, noSuchFileWarning, save, saveFileNameMethods inherited from interface Module
compareTo, description, groupId, latestStorageVersion, moduleId, moduleVersion, registerCommands, storageVersions, toFormattedMethods inherited from interface StatefulConfigModule
newInstance, saveDirectoryMethods inherited from interface StatefulModule
defaultState, state
-
Method Details
-
loadFromOther
-
saveFile
-
load
default void load()- Specified by:
loadin interfaceConfigModule
-
save
default void save()- Specified by:
savein interfaceConfigModule
-