Crafting Inventory
Interface to the crafting inventories
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
Returns all ItemStacks from the inventory
Link copied to clipboard
Gets the block or entity belonging to the open inventory
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
Completely replaces the inventory's contents.
Link copied to clipboard
This method allows you to change the maximum stack size for an inventory.
Link copied to clipboard