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 ItemStorage
ItemStorage.PlayerItemCounts -
Field Summary
Fields inherited from class ItemStorage
isDirtyForClientSync, itemCounts, items, maxInputIndex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidload(net.minecraft.nbt.CompoundTag nbt, net.minecraft.resources.RegistryOps<net.minecraft.nbt.Tag> ops, int lastVanillaDataVersion) Load from the NBT tag into this object.Methods inherited from class 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.resources.RegistryOps<net.minecraft.nbt.Tag> ops, 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.ops- Registry operations.lastVanillaDataVersion- The last vanilla data version this storage was loaded in.
-
convertFrom119
public void convertFrom119()
-