Class InventoryLocationPlayer
java.lang.Object
org.cyclops.cyclopscore.inventory.InventoryLocationPlayer
- All Implemented Interfaces:
IInventoryLocation
-
Method Summary
Modifier and TypeMethodDescriptionstatic InventoryLocationPlayer
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
handToLocation
(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, int selectedSlot) void
setItemInSlot
(net.minecraft.world.entity.player.Player player, int slot, net.minecraft.world.item.ItemStack itemStack)
-
Method Details
-
getInstance
-
getUniqueName
public net.minecraft.resources.ResourceLocation getUniqueName()- Specified by:
getUniqueName
in interfaceIInventoryLocation
-
getInventory
public net.minecraftforge.items.IItemHandlerModifiable getInventory(net.minecraft.world.entity.player.Player player) - Specified by:
getInventory
in interfaceIInventoryLocation
-
getItemInSlot
public net.minecraft.world.item.ItemStack getItemInSlot(net.minecraft.world.entity.player.Player player, int slot) - Specified by:
getItemInSlot
in interfaceIInventoryLocation
-
setItemInSlot
public void setItemInSlot(net.minecraft.world.entity.player.Player player, int slot, net.minecraft.world.item.ItemStack itemStack) - Specified by:
setItemInSlot
in interfaceIInventoryLocation
-
handToLocation
public ItemLocation handToLocation(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, int selectedSlot)
-