Container has item
Whether a chest, barrel or other container holds at least some of an item.
A Minecraft element (a check) in World & blocks. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks → If Container has item: 1 minecraft:diamond → Give a reward.
Also called
chest has, container contains, stocked, in stock
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Container