Manages callbacks that are connected to when an entity hits a block.

Hierarchy

  • EntityHitBlockAfterEventSignal

Constructors

Methods

Constructors

Methods

  • Parameters

    Returns ((arg) => void)

      • (arg): void
      • Parameters

        Returns void

        Remarks

        Adds a callback that will be called when an entity hits a block.

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

        This function can be called in early-execution mode.

    Remarks

    Adds a callback that will be called when an entity hits a block.

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

    This function can be called in early-execution mode.

  • Parameters

    Returns void

    Remarks

    Removes a callback from being called when an entity hits a block.

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

    This function can be called in early-execution mode.