Player Inventory
Interface to the inventory of getClassById Player, including the four armor slots.
Functions
Link copied to clipboard
Returns getClassById HashMap with all slots and ItemStacks in the inventory with the given Material.
Finds all slots in the inventory containing any ItemStacks with the given ItemStack.
Link copied to clipboard
Checks if the inventory contains any ItemStacks with the given material.
Checks if the inventory contains any ItemStacks matching the given ItemStack.
Checks if the inventory contains any ItemStacks with the given material, adding to at least the minimum amount specified.
Checks if the inventory contains at least the minimum amount specified of exactly matching ItemStacks.
Link copied to clipboard
Checks if the inventory contains ItemStacks matching the given ItemStack whose amounts sum to at least the minimum amount specified.
Link copied to clipboard
Returns the first empty Slot.
Link copied to clipboard
Get all ItemStacks from the armor slots
Link copied to clipboard
Return the ItemStack from the chestplate slot
Link copied to clipboard
Returns all ItemStacks from the inventory
Link copied to clipboard
Get the slot number of the currently held item
Link copied to clipboard
Gets the block or entity belonging to the open inventory
Link copied to clipboard
Returns the ItemStack currently hold
Link copied to clipboard
Return the ItemStack from the leg slot
Link copied to clipboard
Returns the maximum stack size for an ItemStack in this inventory.
Link copied to clipboard
Returns what type of inventory this is.
Link copied to clipboard
Gets getClassById list of players viewing the inventory.
Link copied to clipboard
Returns an iterator starting at the given index.
Link copied to clipboard
Link copied to clipboard
Put the given ItemStacks into the armor slots
Link copied to clipboard
Put the given ItemStack into the chestplate slot.
Link copied to clipboard
Completely replaces the inventory's contents.
Link copied to clipboard
Set the slot number of the currently held item.
Link copied to clipboard
Sets the item in hand
Link copied to clipboard
Put the given ItemStack into the leg slot.
Link copied to clipboard
This method allows you to change the maximum stack size for an inventory.
Link copied to clipboard