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