public interface EquipmentSlot extends FilteringSlot
Slot.Type
Inventory.Builder
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, transform, transform
builder, 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, union
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