public interface EquipmentInventory extends OrderedInventory, CarriedInventory<ArmorEquipable>
Carriers
 that can carry equipment.Inventory.Builder| Modifier and Type | Method and Description | 
|---|---|
| Optional<Slot> | getSlot(EquipmentSlotType equipmentType)Gets the  Slotfor the specified equipment type. | 
| Optional<Slot> | getSlot(EquipmentType equipmentType)Gets the  Slotfor the specified equipment type. | 
| Optional<ItemStack> | peek(EquipmentSlotType equipmentType)Gets without removing the stack for the specified equipment type in this
 Inventory. | 
| Optional<ItemStack> | peek(EquipmentSlotType equipmentType,
    int limit)Gets without removing the items from the stack for the specified
 equipment type in this Inventory. | 
| Optional<ItemStack> | peek(EquipmentType equipmentType)Gets without removing the stack for the specified equipment type in this
 Inventory. | 
| Optional<ItemStack> | peek(EquipmentType equipmentType,
    int limit)Gets without removing the items from the stack for the specified
 equipment type in this Inventory. | 
| Optional<ItemStack> | poll(EquipmentSlotType equipmentType)Gets and remove the stack for the specified equipment type in this
 Inventory. | 
| Optional<ItemStack> | poll(EquipmentSlotType equipmentType,
    int limit)Gets and remove the items from the stack for the specified equipment type
 in this Inventory. | 
| Optional<ItemStack> | poll(EquipmentType equipmentType)Gets and remove the stack for the specified equipment type in this
 Inventory. | 
| Optional<ItemStack> | poll(EquipmentType equipmentType,
    int limit)Gets and remove the items from the stack for the specified equipment type
 in this Inventory. | 
| InventoryTransactionResult | set(EquipmentSlotType equipmentType,
   ItemStack stack)Sets the item for the specified equipment type. | 
| InventoryTransactionResult | set(EquipmentType equipmentType,
   ItemStack stack)Sets the item for the specified equipment type. | 
getSlot, peek, peek, poll, poll, setgetCarrierbuilder, canFit, capacity, clear, contains, contains, containsAny, containsInventory, first, getArchetype, getInventoryProperty, getInventoryProperty, getMaxStackSize, getPlugin, getProperties, getProperties, getProperty, getProperty, hasChildren, intersect, next, offer, parent, peek, peek, poll, poll, query, query, query, query, query, query, query, queryAny, root, set, setMaxStackSize, size, slots, totalItems, transform, unionforEach, iterator, spliteratorOptional<ItemStack> poll(EquipmentSlotType equipmentType)
equipmentType - Type of equipment slot to query forInventory.poll()Inventory.poll()Optional<ItemStack> poll(EquipmentSlotType equipmentType, int limit)
equipmentType - Type of equipment slot to query forlimit - item limitInventory.poll()Inventory.poll()Optional<ItemStack> poll(EquipmentType equipmentType)
equipmentType - Type of equipment slot to query forInventory.poll()Inventory.poll()Optional<ItemStack> poll(EquipmentType equipmentType, int limit)
equipmentType - Type of equipment slot to query forlimit - item limitInventory.poll()Inventory.poll()Optional<ItemStack> peek(EquipmentSlotType equipmentType)
equipmentType - Type of equipment slot to query forInventory.peek()Inventory.peek()Optional<ItemStack> peek(EquipmentSlotType equipmentType, int limit)
equipmentType - Type of equipment slot to query forlimit - item limitInventory.peek()Inventory.peek()Optional<ItemStack> peek(EquipmentType equipmentType)
equipmentType - Type of equipment slot to query forInventory.peek()Inventory.peek()Optional<ItemStack> peek(EquipmentType equipmentType, int limit)
equipmentType - Type of equipment slot to query forlimit - item limitInventory.peek()Inventory.peek()InventoryTransactionResult set(EquipmentSlotType equipmentType, ItemStack stack)
equipmentType - Type of equipment slot to setstack - stack to insertInventory.set(org.spongepowered.api.item.inventory.ItemStack)Inventory.set(ItemStack)InventoryTransactionResult set(EquipmentType equipmentType, ItemStack stack)
equipmentType - Type of equipment slot to setstack - stack to insertInventory.set(org.spongepowered.api.item.inventory.ItemStack)Inventory.set(ItemStack)Optional<Slot> getSlot(EquipmentSlotType equipmentType)
Slot for the specified equipment type.equipmentType - Type of equipment slot to setOptional.empty() if no matching slotOptional<Slot> getSlot(EquipmentType equipmentType)
Slot for the specified equipment type.equipmentType - Type of equipment slot to setOptional.empty() if no matching slot