Max Item Use Time (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.8.0
Syntax
[the] max[imum] [item] us(e|age) (time|duration) of %itemstacks%Description
Returns the max duration an item can be used for before the action completes. E.g. it takes 1.6 seconds to drink a potion, or 1.4 seconds to load an unenchanted crossbow. Some items, like bows and shields, do not have a limit to their use. They will return 1 hour.
Examples
on right click:
broadcast max usage duration of player's tool