Class SingleItemSlotView

java.lang.Object
alexiil.mc.lib.attributes.item.SingleItemSlotView
Direct Known Subclasses:
SingleItemSlot

public class SingleItemSlotView extends Object
A delegating view of a single slot in a FixedItemInvView.
  • Method Details

    • getBackingInv

      public FixedItemInvView getBackingInv()
    • getIndex

      public final int getIndex()
    • get

      public final net.minecraft.item.ItemStack get()
    • getMaxAmount

      public final int getMaxAmount(net.minecraft.item.ItemStack stack)
    • isValid

      public final boolean isValid(net.minecraft.item.ItemStack stack)
    • getFilter

      public final ItemFilter getFilter()