@minecraft
    正在准备搜索索引...

    类 ItemUseBeforeEvent

    Contains information related to an item being used.

    层级 (查看层级一览)

    索引

    属性

    cancel: boolean

    If set to true, this will cancel the item use behavior.

    itemStack: ItemStack

    The impacted item stack that is being used.

    source: Player

    Returns the source entity that triggered this item event.