%i:ITEMSTACK% has pdc %key:STRING% — Conditions

%i:ITEMSTACK% has pdc %key:STRING%
Item1.0.0

Description

Checks if an item stack's PersistentDataContainer has a given key.

Examples

if item has pdc "custom_id":

All Possible Usages (1)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

<i> has pdc <key>

Related (Item)