@minecraft/server
    Preparing search index...

    Class PlayerCursorItemGrabAfterEventSignalBeta

    Manages callbacks for items grabbed from a container to a player's cursor.

    Index

    Methods

    • Beta

      Parameters

      Returns (arg0: PlayerCursorItemGrabAfterEvent) => void

      Adds a callback that is called when a player grabs an item from a container to their cursor.

      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.

    • Beta

      Parameters

      Returns void

      Removes a previously registered event callback.

      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.