Elementium Sign in

Has item

Whether a player has at least this many of an item anywhere in their inventory.

Try it on your server

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 uses a command → If Has item 1 minecraft:diamond → Teleport them.

Also called

has, holding, inventory check, carrying, owns, give, give item, item, items, kit, reward, loot

Works as a data pack?

Yes. A vanilla data pack does this exactly as the plugin does.

What you give it

Related

All Minecraft elements