Class Contraption.ContraptionInvWrapper

java.lang.Object
net.minecraftforge.items.wrapper.CombinedInvWrapper
com.simibubi.create.content.contraptions.components.structureMovement.Contraption.ContraptionInvWrapper
All Implemented Interfaces:
net.minecraftforge.items.IItemHandler, net.minecraftforge.items.IItemHandlerModifiable
Enclosing class:
Contraption

public static class Contraption.ContraptionInvWrapper extends net.minecraftforge.items.wrapper.CombinedInvWrapper
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final boolean
     

    Fields inherited from class net.minecraftforge.items.wrapper.CombinedInvWrapper

    baseIndex, itemHandler, slotCount
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContraptionInvWrapper(boolean isExternal, net.minecraftforge.items.IItemHandlerModifiable... itemHandler)
     
    ContraptionInvWrapper(net.minecraftforge.items.IItemHandlerModifiable... itemHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isSlotExternal(int slot)
     

    Methods inherited from class net.minecraftforge.items.wrapper.CombinedInvWrapper

    extractItem, getHandlerFromIndex, getIndexForSlot, getSlotFromIndex, getSlotLimit, getSlots, getStackInSlot, insertItem, isItemValid, setStackInSlot

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • isExternal

      protected final boolean isExternal
  • Constructor Details

    • ContraptionInvWrapper

      public ContraptionInvWrapper(boolean isExternal, net.minecraftforge.items.IItemHandlerModifiable... itemHandler)
    • ContraptionInvWrapper

      public ContraptionInvWrapper(net.minecraftforge.items.IItemHandlerModifiable... itemHandler)
  • Method Details

    • isSlotExternal

      public boolean isSlotExternal(int slot)