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