Description
When an objective is attempted to be displayed via score:{} in a hoverEvent:{}, it is not displayed. (Both tellraw and Written Books) It is however displayed outside a hoverEvent:{}.
How to Duplicate
Run this in the command line:
/scoreboard objectives add test dummy
Then run this in the command line:
/scoreboard players set @a test 1
Then place down command block down and run via the command block
/give @a minecraft:written_book 1 0
{
title:"Book",
author:"",
pages:["{
text:\"\",
extra:[{
text:\"Objective:\",
color:red
},{
score:{
name:*,
objective:\"test\"
},
color:blue
},{
text:\" \"
},{
text:\"Hover Here\",
color:green,
hoverEvent:{
action:show_text,
value:[{
text:\"Objective:\",
color:red
},{
score:{
name:*,
objective:\"test\"
},
color:blue
}]
}
}]
}"]
}
As you can see the score is displayed at first (in the blue), but once it is within a hoverEvent:{} it no longer displays.
Linked issues
Attachments
Comments 3
Is this still an issue in the current Minecraft Snapshot 15w46a or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
I just updated the affected versions, thanks for your time!