Has NBT Tag (Condition) — Skript

Addon: Skript · Category: Condition

Syntax

%nbtcompounds% (has|have) [the] [nbt] tag[s] %strings%

Description

Checks whether NBT compounds contain the given tag paths. Supports nested tags using dot notation.

Examples

{_nbt} has the nbt tag "Health"

View source