@minecraft/server
    Preparing search index...

    Class ItemUseAfterEventSignalBeta

    Manages callbacks that are connected to an item use event.

    Index

    Methods

    • Beta

      Parameters

      Returns (arg0: ItemUseAfterEvent) => void

      Adds a callback that will be called when an item is used.

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

      This function can be called in early-execution mode.

    • Beta

      Parameters

      Returns void

      Removes a callback from being called when an item is used.

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

      This function can be called in early-execution mode.