public interface EquipmentSlot extends FilteringSlot
Modifier and Type | Method and Description |
---|---|
boolean |
isValidItem(EquipmentType type)
Check whether the supplied equipment type can be inserted into this slot.
|
isValidItem, isValidItem
getStackSize
capacity, clear, contains, contains, first, getMaxStackSize, getProperties, getProperties, getProperty, getProperty, isEmpty, next, offer, parent, peek, peek, poll, poll, query, query, query, query, query, query, query, set, setMaxStackSize, size, slots, totalItems
forEach, iterator, spliterator
boolean isValidItem(EquipmentType type)
Inventory.offer(org.spongepowered.api.item.inventory.ItemStack)
would
always return false for items of this type.type
- EquipmentType to check