Beta Optional onOptional onOptional onThis function will be called when an item containing this component is used to mine a block.
Optional onThis function will be called when an item containing this component is used by a player.
Optional on
Contains a set of events that will be raised for an item. This object must be bound using the ItemComponentRegistry.