Private constructorReadonly blockBlock impacted by this event.
Readonly dimensionDimension that contains the block that is the subject of this event.
Readonly isTrue if the lever is activated (that is, transmitting power).
Readonly playerOptional player that triggered the lever activation.
Contains information related to changes to a lever activating or deactivating.
Example
leverActionEvent.ts