Contains information related to an item that has stopped being used on a block. This event fires when a player successfully uses an item or places a block by pressing the Use Item / Place Block button. If multiple blocks are placed, this event will only occur once at the beginning of the block placement. Note: This event cannot be used with Hoe or Axe items.

Hierarchy

  • ItemStopUseOnAfterEvent

Constructors

Properties

Constructors

Properties

block: Block

Remarks

The block that the item is used on.

itemStack?: ItemStack

Remarks

The impacted item stack that is being used on a block.

source: Player

Remarks

Returns the source entity that triggered this item event.