NBT - Has Tag (Condition) — SkBee

Addon: SkBee · Category: Condition · Since: 2.3.2

Syntax

%nbtcompounds% (has|have) [nbt] tag %string%

Description

Check if an NBT Compound contains a tag.

Examples

if nbt compound of player has tag "custom;points":
if nbt compound of player's tool doesn't have nbt tag "health;score":

View source