Has room for
Whether an item and amount would fit in a player's main inventory, counting partly filled stacks.
A Minecraft element (a check) in Items & inventories. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player clicks a menu slot → If Has room for 1 minecraft:diamond_sword → Give an item.
Also called
room for, space for, fit, can carry
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player