Class ItemHandlerModifiableInventoryState
java.lang.Object
org.cyclops.commoncapabilities.api.capability.inventorystate.ItemHandlerInventoryState
org.cyclops.commoncapabilities.api.capability.inventorystate.ItemHandlerModifiableInventoryState
- All Implemented Interfaces:
net.neoforged.neoforge.items.IItemHandler
,net.neoforged.neoforge.items.IItemHandlerModifiable
,IInventoryState
public class ItemHandlerModifiableInventoryState
extends ItemHandlerInventoryState
implements net.neoforged.neoforge.items.IItemHandlerModifiable
An inventory state implementation that wraps around an
IItemHandlerModifiable
.-
Constructor Summary
ConstructorDescriptionItemHandlerModifiableInventoryState
(net.neoforged.neoforge.items.IItemHandlerModifiable itemHandlerModifiable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setStackInSlot
(int slot, net.minecraft.world.item.ItemStack stack) Methods inherited from class org.cyclops.commoncapabilities.api.capability.inventorystate.ItemHandlerInventoryState
extractItem, getSlotLimit, getSlots, getStackInSlot, getState, insertItem, isItemValid, setNewHash
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.neoforge.items.IItemHandler
extractItem, getSlotLimit, getSlots, getStackInSlot, insertItem, isItemValid
-
Constructor Details
-
ItemHandlerModifiableInventoryState
public ItemHandlerModifiableInventoryState(net.neoforged.neoforge.items.IItemHandlerModifiable itemHandlerModifiable)
-
-
Method Details
-
setStackInSlot
public void setStackInSlot(int slot, net.minecraft.world.item.ItemStack stack) - Specified by:
setStackInSlot
in interfacenet.neoforged.neoforge.items.IItemHandlerModifiable
-