World & blocks · Step
Flip a game rule
Turn an on or off game rule the other way: on becomes off and off becomes on.
m.world.gamerule_toggle
In a flow
“When a player uses a command → Flip a game rule: minecraft:do_daylight_cycle.”
When a player uses a command → Flip a game rule: minecraft:do_daylight_cycle.
What it does
Turn an on or off game rule the other way: on becomes off and off becomes on. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under World & blocks in the palette.
When to use it
Use it when the flow needs to: turn an on or off game rule the other way: on becomes off and off becomes on.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- World Text
-
The world's name, like world or world_nether. Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses world.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more