Item Flags (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.10

Syntax

[the] item flags of %itemtypes%

Description

The item flags of an item. Can be modified.

Examples

set item flags of player's tool to hide enchants and hide attributes
add hide potion effects to item flags of player's held item
remove hide enchants from item flags of {legendary sword}

View source