Beta
Manages callbacks that are connected to an event that fires before a piston is activated.
Protected
Adds a callback that will be called before a piston expands or retracts.
Removes a callback from being called before a piston expands or retracts.
This function can throw errors.
Manages callbacks that are connected to an event that fires before a piston is activated.