register Item Tooltip
Registers a new trigger that runs when a tooltip is being rendered. This allows for the user to modify what text is in the tooltip, and even the ability to cancel rendering completely.
Passes through three arguments:
The list of lore to modify.
The Item that this lore is attached to.
The cancellable event.
Available modifications:
Trigger.setPriority Sets the priority
Return
The trigger for additional modification
Parameters
method
The method to call when the event is fired