@minecraft/server
    Preparing search index...

    Class ItemStartUseOnAfterEventSignal

    Manages callbacks that are connected to an item starting being used on a block event.

    Index

    Methods

    • Parameters

      Returns (arg0: ItemStartUseOnAfterEvent) => void

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

      no-restricted-execution - This function can't be called in restricted-execution mode.

      early-execution-allowed - This function can be called in early-execution mode.

    • Parameters

      Returns void

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

      no-restricted-execution - This function can't be called in restricted-execution mode.

      early-execution-allowed - This function can be called in early-execution mode.