Swap hands
Swap the item in a player's main hand with the one in their off hand.
A Minecraft element (a step) in Items & inventories. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks → Swap hands.
Also called
offhand swap, switch hands, f key
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player