Contains a set of events that will be raised for an item. This object must be bound using the ItemComponentRegistry.
Optional
This function will be called when an item containing this component is hitting an entity and about to take durability damage.
This function will be called when an item containing this component's use duration was completed.
This function will be called when an item containing this component is eaten by an entity.
This function will be called when an item containing this component is used to hit another entity.
This function will be called when an item containing this component is used to mine a block.
Beta
This function will be called when a player releases use of an item containing this component. It will only be called if the item has the minecraft:use_duration component.
This function will be called when an item containing this component is used by a player.
This function will be called when an item containing this component is used on a block.
Contains a set of events that will be raised for an item. This object must be bound using the ItemComponentRegistry.