Class: ItemUseOnEvent
Contains information regarding the use of an item on a block.
Extended by
Constructors
new ItemUseOnEvent()
private
new ItemUseOnEvent():ItemUseOnEvent
Returns
Properties
block
readonly
block:Block
Remarks
The block impacted by this event.
blockFace
readonly
blockFace:Direction
Remarks
The face of the block that the item was used on.
faceLocation
readonly
faceLocation:Vector3
Remarks
Location relative to the bottom north-west corner of the block that the item was used on.
itemStack
readonly
itemStack:ItemStack
Remarks
The item stack used on the block.