Class InventoryModule
java.lang.Object
net.thomilist.dimensionalinventories.module.base.ModuleBase
net.thomilist.dimensionalinventories.module.builtin.inventory.InventoryModule
- All Implemented Interfaces:
Comparable<Module>, LostAndFoundFormattable, JsonModule<InventoryModuleState>, Module, JsonPlayerModule<InventoryModuleState>, PlayerModule, StatefulPlayerModule<InventoryModuleState>, StatefulModule<InventoryModuleState>
public final class InventoryModule
extends ModuleBase
implements JsonPlayerModule<InventoryModuleState>
-
Field Summary
Fields inherited from interface JsonModule
GSON_BUILDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.Gsongson()newInstance(net.minecraft.server.network.ServerPlayerEntity player) state()Methods inherited from class ModuleBase
createDerived, description, groupId, moduleId, storageVersionsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JsonModule
load, loadAsCurrentVersion, loadFromJsonString, loadVersionedData, save, saveFileNameMethods inherited from interface JsonPlayerModule
load, noSuchFileWarning, save, saveFileMethods inherited from interface Module
compareTo, description, groupId, latestStorageVersion, moduleId, moduleVersion, registerCommands, storageVersions, toFormattedMethods inherited from interface PlayerModule
category, loadWithContext, saveWithContext, toLostAndFoundScopeStringMethods inherited from interface StatefulPlayerModule
saveDirectory
-
Constructor Details
-
InventoryModule
-
-
Method Details
-
newInstance
- Specified by:
newInstancein interfaceStatefulPlayerModule<InventoryModuleState>
-
state
- Specified by:
statein interfaceStatefulModule<InventoryModuleState>
-
defaultState
- Specified by:
defaultStatein interfaceStatefulModule<InventoryModuleState>
-
gson
public com.google.gson.Gson gson()- Specified by:
gsonin interfaceJsonModule<InventoryModuleState>
-