set Game Rule Value
Set the specified gamerule to specified value.
The rule may attempt to validate the value passed, will return true if value was set.
If rule is null, the function will return false.
Return
True if rule was set
Parameters
rule
Rule to set
value
Value to set rule to