Cancel Active Item (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.8.0

Syntax

(cancel|interrupt) [the] us[ag]e of %livingentities%'[s] [active|current] item

Description

Interrupts the action entities may be trying to complete. For example, interrupting eating, or drawing back a bow.

Examples

on damage of player:
	if the victim's active tool is a bow:
		interrupt the usage of the player's active item

View source