Skip to content

NBT Path

Data Type

A string that specifies a collection of elements from an NBT.

Note

See Minecraft Fandom Wiki: NBT path format for more information about NBT paths.

Examples

"source": "VillagerData"

This example will specify the VillagerData NBT.

"source": "Items[0].tag"

This example will specify the tag NBT from the first element (index of 0) of the Items[] array NBT.

"source": "Item.tag.gems[-1]"

This example will specify the last element from the gems array NBT of the tag object NBT from the Item object NBT.