Skip to main content

NBT

Substitutes the NBT-value at a given path as retrieved from various sources; this tag acts as a placeholder and must thereby be self-closing (does not accept content).

Block

Overview

Retrieves data from a block within the player's world.

<block-nbt

  coordinatescoordinates

  ↪ Coordinates of the target block

  pathstring

  ↪ Path of the NBT-value

  separatormarkup(null)

  ↪ Separator injected in-between list-items

  representationmarkup(null)

  ↪ Representation of each item; introduces the {value} placeholder

/>

Example

TODO: Add example

Entity

Overview

Retrieves data from an entity within the player's world.

<entity-nbt

  selectorselector

  ↪ Selector to decide targets with

  pathstring

  ↪ Path of the NBT-value

  separatormarkup(null)

  ↪ Separator injected in-between list-items

  representationmarkup(null)

  ↪ Representation of each item; introduces the {value} placeholder

  interpretboolean(false)

  ↪ Whether NBT-values are to be interpreted as components

/>

Example

TODO: Add example

Storage

Overview

Retrieves data from a resource-location or command-storage.

<storage-nbt

  keystring

  ↪ Resource-location of the data-holder

  pathstring

  ↪ Path of the NBT-value

  separatormarkup(null)

  ↪ Separator injected in-between list-items

  representationmarkup(null)

  ↪ Representation of each item; introduces the {value} placeholder

  interpretboolean(false)

  ↪ Whether NBT-values are to be interpreted as components

/>

Example

TODO: Add example