Class ItemStartUseOnEventBeta

Contains information related to an item being used on a block.

Hierarchy

  • ItemStartUseOnEvent

Constructors

Properties

blockFace: Direction

The face of the block that an item is being used on.

blockLocation: Vector3

Location of the block being impacted.

buildBlockLocation: Vector3

Location of the resulting build block position. Useful for determining where a block was placed.

item: ItemStack

The impacted item stack that is starting to be used.

source: Entity

Returns the source entity that triggered this item event.