Class InventoryLocationPlayer

java.lang.Object
org.cyclops.cyclopscore.inventory.InventoryLocationPlayer
All Implemented Interfaces:
IInventoryLocation

public class InventoryLocationPlayer extends Object implements IInventoryLocation
  • Method Details

    • getInstance

      public static InventoryLocationPlayer getInstance()
    • getUniqueName

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

      public net.neoforged.neoforge.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
    • handToLocation

      public ItemLocation handToLocation(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, int selectedSlot)