Elementium Sign in

Is holding

Whether a player holds an item of a type in their main hand.

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 right-clicks → If Is holding minecraft:compass → Open a menu: Warps.

Also called

holding, in hand, has in hand, wielding

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