get pdc %key:STRING% of %i:ITEMSTACK% — Expressions

get pdc %key:STRING% of %i:ITEMSTACK%
Item1.0.0

Description

Retrieves a string value from an item stack's PersistentDataContainer.

Examples

set val to get pdc "custom_id" of item

All Possible Usages (1)

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

get pdc <key> of <i>

Related (Item)