Elementium Sign in

Flip a saved on/off

Switch a saved yes/no between true and false. Nothing saved, or anything but true, becomes true.

Try it on your server

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

What it gives back

Related

All Minecraft elements