Elementium Sign in

Count in a container

How many of one item a chest, barrel or other container holds, across all its stacks.

Try it on your server

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

Example

When a player right-clicks → Count in a container: minecraft:diamond → Answer.

Also called

count in chest, how many in chest, stock, inventory count

Works as a data pack?

No. This one needs the Elementium plugin on a Paper server.

What you give it

What it gives back

Related

All Minecraft elements