Class: ItemUseOnBeforeEvent
Contains information related to an item being used on a block.
Extends
Constructors
new ItemUseOnBeforeEvent()
private
new ItemUseOnBeforeEvent():ItemUseOnBeforeEvent
Returns
Overrides
ItemUseOnAfterEvent
. constructor
Properties
block
readonly
block:Block
Remarks
The block that the item is used on.
Inherited from
blockFace
readonly
blockFace:Direction
Remarks
The face of the block that an item is being used on.
Inherited from
ItemUseOnAfterEvent
. blockFace
cancel
cancel:
boolean