• 0

    posted a message on Data merge, scoreboards - How to solve my problem?

    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

    Posted in: Redstone Discussion and Mechanisms
  • To post a comment, please .