Datapack hover text created through '/datapack list' does not use an action
The bug
When typing /datapack list, you can hover over all the data packs you have enabled.
This is like most things in the game, like advancements, entities, and killing weapons, all of which you can hover over to see the object in question.
However, there is one difference between data packs, and these other objects. These objects use their own "actions" in tellraw. You can see this by using the "show_item" action in this command:
/tellraw @a {"text":"Hover","hoverEvent":{"action":"show_item","value":"{id:\"minecraft:stone\",Count:1b,tag:{display:{Lore:[\"Lore line 1\",\"Lore line 2\"]}}}"}}
However, data packs do not do this, which is inconsistent with all other forms of hover events.
How to reproduce
- Install the attached data pack
into world/datapacks/... - Type /datapack list
- Hover over the data pack. ("file/tellraw_bug")
- See the description reads "This is a description."
- Go into the data pack's file, and change that description in pack.mcmeta
- Run /reload
- Go back into the game, and repeat step 3.
→ Observe that the data pack text has not updated, as the text is generated when you use /datapack
Created Issue:
Datapack hover text created through /datapack list does not use an action.
When typing /datapack list, you can hover over all the data packs you have enabled.
This is like most things in the game, like advancements, entities, and killing weapons, all of which you can hover over to see the object in question.However, there is one difference between data packs, and these other objects. These objects use their own "actions" in tellraw. You can see this by using the "show_item" action in this command:
/tellraw @a {"text":"Hover","hoverEvent":{"action":"{color:red}show_item{color}","value":"{id:\"minecraft:stone\",Count:1b,tag:{display:{Lore:[\"Lore line 1\",\"Lore line 2\"]}}}"}}However, data packs do not do this, which is inconsistent with all other forms of hover events.
To see this in action:
- Install the attached data pack into world/datapacks/...
- Type /datapack list.
- Hover over the data pack. ("file/tellraw_bug")
- See the description reads "This is a description."
- Go into the data pack's file, and change that description in pack.mcmeta.
- Go back into the game, and repeat step 3.
--> Observe that the data pack text has not updated, as the text is generated when you use /datapack.
When typing /datapack list, you can hover over all the data packs you have enabled.
This is like most things in the game, like advancements, entities, and killing weapons, all of which you can hover over to see the object in question.However, there is one difference between data packs, and these other objects. These objects use their own "actions" in tellraw. You can see this by using the "show_item" action in this command:
/tellraw @a {"text":"Hover","hoverEvent":{"action":"{color:red}show_item{color}","value":"{id:\"minecraft:stone\",Count:1b,tag:{display:{Lore:[\"Lore line 1\",\"Lore line 2\"]}}}"}}However, data packs do not do this, which is inconsistent with all other forms of hover events.
To see this in action:
- Install the attached data pack into world/datapacks/...
- Type /datapack list.
- Hover over the data pack. ("file/tellraw_bug")
- See the description reads "This is a description."
- Go into the data pack's file, and change that description in pack.mcmeta.
- Run /reload.
- Go back into the game, and repeat step 3.
--> Observe that the data pack text has not updated, as the text is generated when you use /datapack.
When typing /datapack list, you can hover over all the data packs you have enabled.
This is like most things in the game, like advancements, entities, and killing weapons, all of which you can hover over to see the object in question.However, there is one difference between data packs, and these other objects. These objects use their own "actions" in tellraw. You can see this by using the "show_item" action in this command:
/tellraw @a {"text":"Hover","hoverEvent":{"action":"{color:red}show_item{color}","value":"{id:\"minecraft:stone\",Count:1b,tag:{display:{Lore:[\"Lore line 1\",\"Lore line 2\"]}}}"}}However, data packs do not do this, which is inconsistent with all other forms of hover events.
To see this in action:
- Install the attached data pack into world/datapacks/...
- Type /datapack list.
- Hover over the data pack. ("file/tellraw_bug")
- See the description reads "This is a description."
- Go into the data pack's file, and change that description in pack.mcmeta.
- Run /reload.
- Go back into the game, and repeat step 3.
--> Observe that the data pack text has not updated, as the text is generated when you use /datapack.
When typing /datapack list, you can hover over all the data packs you have enabled.
This is like most things in the game, like advancements, entities, and killing weapons, all of which you can hover over to see the object in question.However, there is one difference between data packs, and these other objects. These objects use their own "actions" in tellraw. You can see this by using the "show_item" action in this command:
/tellraw @a {"text":"Hover","hoverEvent":{"action":"show_item","value":"{id:\"minecraft:stone\",Count:1b,tag:{display:{Lore:[\"Lore line 1\",\"Lore line 2\"]}}}"}}However, data packs do not do this, which is inconsistent with all other forms of hover events.
To see this in action:
- Install the attached data pack into world/datapacks/...
- Type /datapack list.
- Hover over the data pack. ("file/tellraw_bug")
See the description reads "This is a description."Go into the data pack's file, and change that description in pack.mcmeta.- Run /reload.
- Go back into the game, and repeat step 3.
-->Observe that the data pack text has not updated, as the text is generated when you use/datapack.The bug
When typing /datapack list, you can hover over all the data packs you have enabled.
This is like most things in the game, like advancements, entities, and killing weapons, all of which you can hover over to see the object in question.However, there is one difference between data packs, and these other objects. These objects use their own "actions" in tellraw. You can see this by using the "show_item" action in this command:
/tellraw @a {"text":"Hover","hoverEvent":{"action":"show_item","value":"{id:\"minecraft:stone\",Count:1b,tag:{display:{Lore:[\"Lore line 1\",\"Lore line 2\"]}}}"}}However, data packs do not do this, which is inconsistent with all other forms of hover events.
How to reproduce
- Install the attached data pack
into world/datapacks/...
- Type /datapack list
- Hover over the data pack. ("file/tellraw_bug")
- See the description reads "This is a description."
- Go into the data pack's file, and change that description in pack.mcmeta
- Run /reload
- Go back into the game, and repeat step 3.
→ Observe that the data pack text has not updated, as the text is generated when you use /datapack
Datapack hover text created through /datapack list does not use an action.Datapack hover text created through '/datapack list' does not use an action
Er, did you run /reload in between changing it and listing them?
Yep. Sorry, just forgot to add that to the steps.
This is intentional and similar to how almost every other hover event works (ie objectives, entities, etc)