Manages callbacks that are connected to before an explosion occurs.

Methods

  • Parameters

    Returns (arg: ExplosionBeforeEvent) => void

    Adds a callback that will be called when before an explosion occurs. The callback can optionally change or cancel explosion behavior.

    This function can't be called in read-only mode.

    This function can be called in early-execution mode.

  • Parameters

    Returns void

    Removes a callback from being called from before when an explosion would occur.

    This function can't be called in read-only mode.

    This function can be called in early-execution mode.