Mojira Archive
MC-226676

Unable to copy block nbt string to entity display name.

Custom loot table not copying nbt string to display name.
This setup outputs a blank display name ( {display:{Name:'

{"text":""}

'}} ) and was expecting the name to be "minecraft:pig".
Manually spawning the item works just fine.
/give @s minecraft:spawner{display:{Name:'

{"text":"minecraft:pig"}

'}}

File format attached:

Invalid

Nicholas

2021-05-29, 12:56 AM

2021-10-15, 07:08 AM

2021-10-14, 09:39 AM

0

1

Unconfirmed

(Unassigned)

1.16.5, 1.17 Pre-release 1

-