The GameRuleChangeAfterEvent class in @minecraft/server.
Class in @minecraft/server
import { GameRuleChangeAfterEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”read-only
readonly rule: GameRule;Types
read-only
readonly value: boolean | number;Used by
Section titled “Used by”GameRuleChangeAfterEventSignal.subscribe, GameRuleChangeAfterEventSignal.unsubscribe