Interface IItemHandlerMixin

All Superinterfaces:
InventoryKJS

public interface IItemHandlerMixin extends InventoryKJS
  • Method Details

    • kjs$self

      default net.neoforged.neoforge.items.IItemHandler kjs$self()
    • kjs$isMutable

      default boolean kjs$isMutable()
      Specified by:
      kjs$isMutable in interface InventoryKJS
    • kjs$getSlots

      int kjs$getSlots()
      Specified by:
      kjs$getSlots in interface InventoryKJS
    • kjs$getStackInSlot

      net.minecraft.world.item.ItemStack kjs$getStackInSlot(int i)
      Specified by:
      kjs$getStackInSlot in interface InventoryKJS
    • kjs$setStackInSlot

      default void kjs$setStackInSlot(int slot, net.minecraft.world.item.ItemStack stack)
      Specified by:
      kjs$setStackInSlot in interface InventoryKJS
    • kjs$insertItem

      net.minecraft.world.item.ItemStack kjs$insertItem(int i, net.minecraft.world.item.ItemStack itemStack, boolean b)
      Specified by:
      kjs$insertItem in interface InventoryKJS
    • kjs$extractItem

      net.minecraft.world.item.ItemStack kjs$extractItem(int i, int i1, boolean b)
      Specified by:
      kjs$extractItem in interface InventoryKJS
    • kjs$getSlotLimit

      int kjs$getSlotLimit(int i)
      Specified by:
      kjs$getSlotLimit in interface InventoryKJS
    • kjs$isItemValid

      boolean kjs$isItemValid(int i, net.minecraft.world.item.ItemStack itemStack)
      Specified by:
      kjs$isItemValid in interface InventoryKJS
    • kjs$getBlock

      @Nullable default @Nullable LevelBlock kjs$getBlock(net.minecraft.world.level.Level level)
      Specified by:
      kjs$getBlock in interface InventoryKJS