Active Item Use Time (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.8.0

Syntax

[the] [elapsed|remaining] (item|tool) us[ag]e time of %livingentities%

Description

Returns the time that the entities have either spent using an item, or the time left for them to finish using an item. If an entity is not using any item, this will return 0 seconds.

Examples

on right click:
	broadcast player's remaining item use time
	wait 1 second
	broadcast player's item use time

View source