public interface EquipmentSlot extends FilteringSlot
Slot.TypeInventory.Builder| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidItem(EquipmentType type)
Check whether the supplied equipment type can be inserted into this slot.
|
isValidItem, isValidItemgetStackSize, transform, transformbuilder, 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, spliteratorboolean isValidItem(EquipmentType type)
Inventory.offer(org.spongepowered.api.item.inventory.ItemStack) would
always return false for items of this type.type - EquipmentType to check