Elementium Sign in

Count items

How many of an item a player has, across every slot of their inventory.

Try it on your server

A Minecraft element (a value) in Items & inventories. Needs the Basic plan or higher to go live; building and testing are free.

Example

When a player uses a command → Answer: You have {node.c.count} diamonds.

Also called

count, how many, amount, item count

Works as a data pack?

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

What you give it

What it gives back

Related

All Minecraft elements