Interface IInventory


public interface IInventory
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    find(Predicate<net.minecraft.world.item.ItemStack> test)
     
    int
    findInHotbar(Predicate<net.minecraft.world.item.ItemStack> test)
     
    void
     
    boolean
    swapToSlot(int slot, SwapType swapType)
     
  • Method Details

    • find

      int find(Predicate<net.minecraft.world.item.ItemStack> test)
    • findInHotbar

      int findInHotbar(Predicate<net.minecraft.world.item.ItemStack> test)
    • swapToSlot

      boolean swapToSlot(int slot, SwapType swapType)
    • swapBack

      void swapBack()