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
itemCounts, items, maxInputIndex
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
load
(net.minecraft.nbt.CompoundTag nbt, 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, isDirtyForClientSync, moveSlot, placeItem, returnItems, save, setDirty, 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, int lastVanillaDataVersion) Description copied from interface:WorldStorage
Load from the NBT tag into this object.- Specified by:
load
in interfaceWorldStorage
- Overrides:
load
in classItemStorage
- Parameters:
nbt
- NBT tag to load from.lastVanillaDataVersion
- The last vanilla data version this storage was loaded in.
-
convertFrom119
public void convertFrom119()
-