-
Bug
-
Resolution: Duplicate
-
None
-
1.14.4, 1.15 Pre-release 6
-
Confirmed
-
Commands
If you throw an item with lore, team modify XXX prefix/suffix/displayName doesn't work with commands that works with tellraw.
For example, you summon an item with command
/summon item ~2 ~ ~ {Item:{id:"minecraft:stone",Count:1b,tag:{display:{Lore:["{\"text\":\"something\"}"]}}}}
This is a stone with lore "something".
If you run command
/tellraw @a [{"nbt":"Item.tag.display.Lore[0]","entity":"@e[type=item,limit=1]","interpret":"true"}]
it will show the first line in item's lore, which is "something".
However, if you run command
/team modify XXX prefix [{"nbt":"Item.tag.display.Lore[0]","entity":"@e[type=item,limit=1]","interpret":"true"}]
it will show nothing in front of the team prefix. It also doesn't work with suffix/displayName.
- duplicates
-
MC-130968 Selector, score and nbt components don’t work in team prefix and suffix
- Resolved