Sign with tellraw score storaged in NBT in inventory cause no update when placed
- Create a dummy objective called Test
- Set your score for objective Test to 1
- Perform this command:
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"{\"score\":{\"objective\":\"Test\",\"name\":\"@p\"}}"} - Set your score to 2
- Do NBT Copy on the sign (middle mouse wheel and ctrl) and place it down
You will notice that the sign has still the old value (1) instead of the new (2) even if this sign was new placed
I am not sure if this is intended but I guess not
Created Issue:
Sign with tellraw score storaged in NBT in inventory cause no update when placed
- Create a dummy objective called Test
- Set the score for fake player Notch for objective Test to 1
- Place a sign
- Perform this command:
/blockdata ~ ~ ~ {Text1:"{score:{name:Notch,objective:Test}}"}- Set score of Notch to 2
- Do NBT Copy on the sign (middle mouse wheel and ctrl) and place it down
You will notice that the sign has still the old value (1) instead of the new (2) even if this sign was new placed
I am not sure if this is intended but I guess so
- Create a dummy objective called Test
- Set the score for fake player Notch for objective Test to 1
- Place a sign
- Perform this command:
/blockdata ~ ~ ~ {Text1:"{score:{name:Notch,objective:Test}}"}- Set score of Notch to 2
- Do NBT Copy on the sign (middle mouse wheel and ctrl) and place it down
You will notice that the sign has still the old value (1) instead of the new (2) even if this sign was new placed
I am not sure if this is intended but I guess
so
- Create a dummy objective called Test
- Set the score for fake player Notch for objective Test to 1
- Place a sign
- Perform this command:
/blockdata ~ ~ ~ {Text1:"{score:{name:Notch,objective:Test}}"}- Set score of Notch to 2
- Do NBT Copy on the sign (middle mouse wheel and ctrl) and place it down
You will notice that the sign has still the old value (1) instead of the new (2) even if this sign was new placed
I am not sure if this is intended but I guess not
- Create a dummy objective called Test
- Set
thescore forfake player Notch forobjective Test to 1- Place a sign
Perform this command:/blockdata~ ~ ~ {Text1:"{score:{name:Notch,objective:Test}}"}- Set score
of Notchto 2- Do NBT Copy on the sign (middle mouse wheel and ctrl) and place it down
You will notice that the sign has still the old value (1) instead of the new (2) even if this sign was new placed
I am not sure if this is intended but I guess not
- Create a dummy objective called Test
- Set your score for objective Test to 1
- Perform this command:
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"{score:{objective:Test,name:@p}}"}- Set your score to 2
- Do NBT Copy on the sign (middle mouse wheel and ctrl) and place it down
You will notice that the sign has still the old value (1) instead of the new (2) even if this sign was new placed
I am not sure if this is intended but I guess not
- Create a dummy objective called Test
- Set your score for objective Test to 1
- Perform this command:
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"{score:{objective:Test,name:@p}}"}- Set your score to 2
- Do NBT Copy on the sign (middle mouse wheel and ctrl) and place it down
You will notice that the sign has still the old value (1) instead of the new (2) even if this sign was new placed
I am not sure if this is intended but I guess not
- Create a dummy objective called Test
- Set your score for objective Test to 1
- Perform this command:
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"{\"score\":{\"objective\":\"Test\",\"name\":\"@p\"}}"}- Set your score to 2
- Do NBT Copy on the sign (middle mouse wheel and ctrl) and place it down
You will notice that the sign has still the old value (1) instead of the new (2) even if this sign was new placed
I am not sure if this is intended but I guess not
Confirmed for
- 1.8.2-pre4
Reason:
{"extra":[{"color":"red","score":{"name":"Marcono1234","objective":"bug","value":""}}],"text":"Bug score: "}
{"extra":[{"color":"red","score":{"name":"Marcono1234","objective":"bug","value":"1"}}],"text":"Bug score: "}
So when no "value" is set, it uses the current value, but if one is set, it uses the existing one. But don't ask me why it is like this.
This relates strongly to: MC-57508
Can confirm. The NBT data of the sign after using /setblock becomes:
{id:"Sign",Text1:"{"score":{"name":"Skylinerw","objective":"TOKENS","value":"0"}}"}Thus using pick-block will grab a sign that has that data. This is probably working as intended for all I know, perhaps as a way to translate what to display.
Who knows... but it would be great when it works
Seems to be fixed for 15w37a (and probably earlier)
In 17w06a it acts like described in the report. But like [Mod] Skylinerw said this is very likely intended.