@minecraft
    Preparing search index...

    Class ItemUseBeforeEventSignal

    Manages callbacks that fire before an item is used.

    Index

    Methods

    • World mutation Early execution

      Parameters

      • callback: (arg0: ItemUseBeforeEvent) => void

        This closure is called with restricted-execution privilege.

      Returns void

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