Class EntityHitEventSignalBeta

Manages callbacks that are connected to when an entity makes a melee attack on another entity.

Hierarchy

  • EntityHitEventSignal

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 another entity.

    Remarks

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

  • Parameters

    • callback: ((arg) => void)

    Returns void

    Remarks

    Removes a callback from being called when an entity makes a melee attack on another entity.

    Throws

    This function can throw errors.