Beta
Beta
Optional
options: EntityEventOptionsAdds a callback that will be called when an entity hits a block.
This function can't be called in read-only mode.
Beta
Removes a callback from being called when an entity hits a block.
This function can't be called in read-only mode.
Manages callbacks that are connected to when an entity hits a block.