Interface IInventoryLocation

All Known Implementing Classes:
InventoryLocationBaubles, InventoryLocationCurios, InventoryLocationPlayer

public interface IInventoryLocation
A registerable inventory location.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraftforge.items.IItemHandlerModifiable
    getInventory(net.minecraft.world.entity.player.Player player)
     
    net.minecraft.world.item.ItemStack
    getItemInSlot(net.minecraft.world.entity.player.Player player, int slot)
     
    net.minecraft.resources.ResourceLocation
     
    void
    setItemInSlot(net.minecraft.world.entity.player.Player player, int slot, net.minecraft.world.item.ItemStack itemStack)
     
  • Method Details

    • getUniqueName

      net.minecraft.resources.ResourceLocation getUniqueName()
    • getInventory

      @Nullable net.minecraftforge.items.IItemHandlerModifiable getInventory(net.minecraft.world.entity.player.Player player)
    • getItemInSlot

      net.minecraft.world.item.ItemStack getItemInSlot(net.minecraft.world.entity.player.Player player, int slot)
    • setItemInSlot

      void setItemInSlot(net.minecraft.world.entity.player.Player player, int slot, net.minecraft.world.item.ItemStack itemStack)