This function can't be called in read-only mode.
This function can be called in early-execution mode.
Removes a callback from being called when a piston expands or retracts.
This function can't be called in read-only mode.
This function can be called in early-execution mode.
Manages callbacks that are connected to piston activations.
Example: pistonAfterEvent.ts