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 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 interface net.neoforged.neoforge.items.IItemHandlerModifiable