Contains information regarding a changed world.gameRules property.
export class GameRuleChangeAfterEvent { private constructor(); readonly rule: GameRule; readonly value: boolean | number;} Copy
export class GameRuleChangeAfterEvent { private constructor(); readonly rule: GameRule; readonly value: boolean | number;}
Private
Readonly
The rule identifier pertaining to the changed world.gameRules property.
This property can't be read in early-execution mode.
The value of the world.gameRules property after being changed.
Contains information regarding a changed world.gameRules property.
Source