I am making a redstone computer, and I am done making increment value, decrement value, goto function with index, stop signal, and other small things, and all is working. I am storing the main calculation value in a scoreboard value named Reg1
. I would like to add a Reg0/Reg2
, and I would like to know if there is any possible way to do something like: /scoreboard players set @p Reg1 Reg2
, or anything like that? I want to set one variable equal to another.
I do not want to have a large amount of blocks having /testfor @p[score_Reg1 = 1]
and then /scoreboard players set @p Reg2 1
and then doing the same with 2, then 3, etc…
Best Answer
This can be accomplished using
/scoreboard players operation
:The available
operation
s are:What you want to do should be: