Item Flags (Expression) — Skript
Addon: Skript · Category: Expression
Syntax
[the] item flag[s] of %items%Description
The item flags of an item, which are the parts of its tooltip that are hidden. A flag is only listed if everything it hides is currently hidden.
Examples
add hide enchants to item flags of player's tool
remove hide dye from the item flags of {_item}
set item flags of {_item} to hide attributes and hide unbreakable
clear item flags of {_item}
if item flags of player's tool contains hide attributes:
send "your tool's attributes are hidden!"