Class: ItemComponentUseOnEvent
Contains information regarding the use of an item on a block via a component.
Extends
Constructors
new ItemComponentUseOnEvent()
private
new ItemComponentUseOnEvent():ItemComponentUseOnEvent
Returns
Overrides
Properties
block
readonly
block:Block
Remarks
The block impacted by this event.
Inherited from
blockFace
readonly
blockFace:Direction
Remarks
The face of the block that the item was used on.
Inherited from
faceLocation
readonly
faceLocation:Vector3
Remarks
Location relative to the bottom north-west corner of the block that the item was used on.
Inherited from
itemStack
readonly
itemStack:ItemStack
Remarks
The item stack used on the block.
Inherited from
source
readonly
source:Entity
Remarks
The entity that used the item on the block.
usedOnBlockPermutation
readonly
usedOnBlockPermutation:BlockPermutation
Remarks
The block permutation that the item was used on.