Properties
Optional
onBeforeDurabilityDamage
onBeforeDurabilityDamage?: ((arg) => void)
Optional
onCompleteUse
onCompleteUse?: ((arg) => void)
Optional
onConsume
onConsume?: ((arg) => void)
Optional
onHitEntity
onHitEntity?: ((arg) => void)
Optional
onMineBlock
onMineBlock?: ((arg) => void)
Optional
onUse
onUse?: ((arg) => void)
Optional
onUseOn
onUseOn?: ((arg) => void)
Contains a set of events that will be raised for an item. This object must be bound using the ItemComponentRegistry.