Flip a saved on/off
Switch a saved yes/no between true and false. Nothing saved, or anything but true, becomes true.
A Minecraft element (a step) in Saved data. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks a block → Flip a saved on/off: player, night_vision.
Also called
toggle, flip, switch on off, boolean, enable disable, setting
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player
- Entity
- Block
What it gives back
- Is on