NBT - Pretty NBT String (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 1.6.0
Syntax
pretty nbt (of|from) %nbtcompounds% [(with|using) split %-string%]Description
Get a 'pretty' NBT string. This is colored the same as when using the vanilla Minecraft '/data' command. Splitting it will output kind of like a JSON output. Requires 1.13.2+
Examples
set {_pretty} to pretty nbt from nbt compound of player's tool
send pretty nbt from nbt compound of player's tool
set {_nbt} to nbt of player's tool
send pretty nbt from {_nbt} to player
send pretty nbt from {_nbt} with split " " to console