Items are the same type
Whether two items are the same material, whatever their names and amounts.
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 the same type → Merge them.
Also called
same type, same material, compare items, equal type
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- First item
- Second item