Class InventoryLocationBaubles

java.lang.Object
org.cyclops.cyclopscore.modcompat.baubles.InventoryLocationBaubles
All Implemented Interfaces:
IInventoryLocation

public class InventoryLocationBaubles extends Object implements IInventoryLocation
Extends the iteratable inventory with Baubles slots.
  • Constructor Details

    • InventoryLocationBaubles

      public InventoryLocationBaubles()
  • Method Details

    • getUniqueName

      public net.minecraft.resources.ResourceLocation getUniqueName()
      Specified by:
      getUniqueName in interface IInventoryLocation
    • getInventory

      @Nullable public net.minecraftforge.items.IItemHandlerModifiable getInventory(net.minecraft.world.entity.player.Player player)
      Specified by:
      getInventory in interface IInventoryLocation
    • getItemInSlot

      public net.minecraft.world.item.ItemStack getItemInSlot(net.minecraft.world.entity.player.Player player, int slot)
      Specified by:
      getItemInSlot in interface IInventoryLocation
    • setItemInSlot

      public void setItemInSlot(net.minecraft.world.entity.player.Player player, int slot, net.minecraft.world.item.ItemStack itemStack)
      Specified by:
      setItemInSlot in interface IInventoryLocation