Toggle button
Put an on/off button in the menu. Each click flips a true or false carry value and swaps its item.
A Minecraft element (a step) in Menus. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player uses a command → Open a menu → Toggle button sounds → a click flow reads {menu.carry.sounds}.
Also called
toggle, switch, on off, setting button, checkbox
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player
- Slot
- Name
- Carry name
- Starts on
- Button