This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Im using this command to get the sign.
/give @p minecraft:oak_sign{BlockEntityTag:{ Text1:'{"text":"","clickEvent":{"action":"run_command","value":"setblock 43 17 13 minecraft:redstone_block"}}', Text2:'{"text":"Buy Chicken","bold":true}', Text3:'["0000000000",{"text":"\\u2588"},{"text":"\\u2588","color":"gray"}]'},display:{Name:'{"text":"Custom Sign"}'} }
but I don't know how to make custom value with scoreboard in place of zeros on the third line of the sign.
My second question: How to use data merge, modify get?
An example could be scoreboard on sign with totalKillCount - but how to create it?
/data merge block ~ ~1 ~ {Text1:'{"text":"Kills"}',Text2:'{"score":{"name":"Kuweta","objective":"totalKillCount"}}'}
^ I created it but someting went wrong,, because it didn`t works :c
for your first question:
/give @p minecraft:oak_sign{BlockEntityTag:{Text1:'{"text":"","clickEvent":{"action":"run_command","value":"setblock 43 17 13 minecraft:redstone_block"}}',Text2:'{"text":"Buy Chicken","bold":true}',Text3:'[{"score":{"name":"Kuweta","objective":"objectivenamehere"}},{"text":"\\u2588"},{"text":"\\u2588","color":"gray"}]'},display:{Name:'{"text":"Custom Sign"}'}}
for your second question:
in the "objective":"objectivename" area you put what you named your scoreboard, not what the scoreboard is tracking, if that helps.
summon minecraft:armor_stand ~ ~0.5 ~ {NoBasePlate:1b,ShowArms:1b,ArmorItems:[{id:leather_boots,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:leather_leggings,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:leather_chestplate,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:player_head,Count:1b,tag:{SkullOwner:"Rocker09871",display:{Name:'{"text":"ror","color":"yellow"}'}}}],HandItems:[{id:potion,Count:1b,tag:{Enchantments:[{id:fortune,lvl:32767}],Potion:"water",display:{Name:'[{"text":"Vegan ","color":"green","bold":true,"italic":false},{"text":"Water","color":"blue","bold":true,"italic":false}]'}}},{id:potion,Count:1b,tag:{Enchantments:[{id:fortune,lvl:32767}],Potion:"water",display:{Name:'[{"text":"Vegan ","color":"green","bold":true,"italic":false},{"text":"Water","color":"blue","bold":true,"italic":false}]'}}}],Pose:{RightArm:[-30f,-20f,20f],LeftArm:[-70f,30f],Head:[30f,0f]}}
Im using this command to get the sign.
but I don't know how to make custom value with scoreboard in place of zeros on the third line of the sign.
My second question: How to use data merge, modify get?
An example could be scoreboard on sign with totalKillCount - but how to create it?
^ I created it but someting went wrong,, because it didn`t works :c
for your first question:
for your second question:
in the "objective":"objectivename" area you put what you named your scoreboard, not what the scoreboard is tracking, if that helps.
summon minecraft:armor_stand ~ ~0.5 ~ {NoBasePlate:1b,ShowArms:1b,ArmorItems:[{id:leather_boots,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:leather_leggings,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:leather_chestplate,Count:1b,tag:{Unbreakable:1b,display:{color:11546150}}},{id:player_head,Count:1b,tag:{SkullOwner:"Rocker09871",display:{Name:'{"text":"ror","color":"yellow"}'}}}],HandItems:[{id:potion,Count:1b,tag:{Enchantments:[{id:fortune,lvl:32767}],Potion:"water",display:{Name:'[{"text":"Vegan ","color":"green","bold":true,"italic":false},{"text":"Water","color":"blue","bold":true,"italic":false}]'}}},{id:potion,Count:1b,tag:{Enchantments:[{id:fortune,lvl:32767}],Potion:"water",display:{Name:'[{"text":"Vegan ","color":"green","bold":true,"italic":false},{"text":"Water","color":"blue","bold":true,"italic":false}]'}}}],Pose:{RightArm:[-30f,-20f,20f],LeftArm:[-70f,30f],Head:[30f,0f]}}