Class ItemHandlerModifiableInventoryState
java.lang.Object
org.cyclops.commoncapabilities.api.capability.inventorystate.ItemHandlerInventoryState
org.cyclops.commoncapabilities.api.capability.inventorystate.ItemHandlerModifiableInventoryState
- All Implemented Interfaces:
net.minecraftforge.items.IItemHandler
,net.minecraftforge.items.IItemHandlerModifiable
,IInventoryState
public class ItemHandlerModifiableInventoryState
extends ItemHandlerInventoryState
implements net.minecraftforge.items.IItemHandlerModifiable
An inventory state implementation that wraps around an
IItemHandlerModifiable
.-
Constructor Summary
ConstructorDescriptionItemHandlerModifiableInventoryState
(net.minecraftforge.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.minecraftforge.items.IItemHandler
extractItem, getSlotLimit, getSlots, getStackInSlot, insertItem, isItemValid
-
Constructor Details
-
ItemHandlerModifiableInventoryState
public ItemHandlerModifiableInventoryState(net.minecraftforge.items.IItemHandlerModifiable itemHandlerModifiable)
-
-
Method Details
-
setStackInSlot
public void setStackInSlot(int slot, net.minecraft.world.item.ItemStack stack) - Specified by:
setStackInSlot
in interfacenet.minecraftforge.items.IItemHandlerModifiable
-