Items are identical
Whether two items are exactly alike in type, name, lore and enchantments, ignoring how many.
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 Items are identical → Stack them.
Also called
identical, similar, same item, compare exact, issimilar
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- First item
- Second item