@minecraft/server
    Preparing search index...

    Class ItemStopUseAfterEventSignalBeta

    Manages callbacks that are connected to the stopping of charging for an item that has a registered minecraft:chargeable component.

    Index

    Methods

    • Beta

      Parameters

      Returns (arg0: ItemStopUseAfterEvent) => void

      Adds a callback that will be called when a chargeable item stops charging.

      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 a chargeable item stops charging.

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

      This function can be called in early-execution mode.