Class SmithingTableStorage
java.lang.Object
com.hammy275.immersivemc.common.immersive.storage.dual.impl.ItemStorage
com.hammy275.immersivemc.common.immersive.storage.dual.impl.SmithingTableStorage
- All Implemented Interfaces:
NetworkStorage,WorldStorage
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hammy275.immersivemc.common.immersive.storage.dual.impl.ItemStorage
ItemStorage.PlayerItemCounts -
Field Summary
Fields inherited from class com.hammy275.immersivemc.common.immersive.storage.dual.impl.ItemStorage
isDirtyForClientSync, itemCounts, items, maxInputIndex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidload(net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider provider, int lastVanillaDataVersion) Load from the NBT tag into this object.Methods inherited from class com.hammy275.immersivemc.common.immersive.storage.dual.impl.ItemStorage
addSlotsToEnd, copyFromOld, decode, encode, getItem, getItemsRaw, getNumItems, incrementCountForPlayer, isDirtyForClientSync, moveSlot, placeItem, placeItem, returnItems, save, setDirty, setItem, setItem, setNoLongerDirtyForClientSync, shrinkCountsOnly, shrinkSlot
-
Constructor Details
-
SmithingTableStorage
public SmithingTableStorage()
-
-
Method Details
-
getHandler
- Returns:
- Handler for this type of WorldStorage.
-
load
public void load(net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider provider, int lastVanillaDataVersion) Description copied from interface:WorldStorageLoad from the NBT tag into this object.- Specified by:
loadin interfaceWorldStorage- Overrides:
loadin classItemStorage- Parameters:
nbt- NBT tag to load from.provider- Provider for registry access.lastVanillaDataVersion- The last vanilla data version this storage was loaded in.
-
convertFrom119
public void convertFrom119()
-