#✅ | GameRule Condition

1 messages · Page 1 of 1 (latest)

analog spruce
#

Hey Alice, is it possible to get a Boolean value from a Game Rule and use it as a condition? I want to make a button which is activated when "advance_time" gamerule is set to "false" and deactivated when "true".

normal lichenBOT
# analog spruce Hey Alice, is it possible to get a Boolean value from a Game Rule and use it as ...

Hey! The docs don’t mention any placeholder or requirement that can directly read a gamerule (like advance_time) for use in requirements/actions. Because of that, I can’t point you to a supported way to toggle a button based on that rule. You might need to expose the state via some other method (e.g., a variable set through commands or scripts) and then use the regular Is Variable Value requirement. If you need help wiring that up, feel free to ask with the details of how you’re setting the variable!

sullen pewter
#

Not possible yet, sorry.

normal lichenBOT
#

✅ | GameRule Condition