To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
The Meaning of Life, the Universe, and Everything.
Join Date:
2/11/2017
Posts:
662
Member Details
You could simply repeat the adding command 5 times. If you need this to be versatile, create a new score called "temp" and one called "multiplier" (or whatever you want). "temp" is a temporary value used for calculations, and "multiplier" is the amount you want to multiply by. You could run the following commands:
set the multiplier to 5. This can be seen as a parameter for the operation.
transfer the value of "TaRo" to "temp". This is done so that we do not have to multiply the value of "TaRo" directly. If you were to multiply the value directly, you would need to divide it by 5 at the end of the chain in order to restore the previous value.
multiply "temp" by the multiplier, which should make "temp" the equivalent of "TaRo * 5"
add "temp" to "currency" to complete the operation.
Minecraft does not parse raw mathematical expressions.
Rollback Post to RevisionRollBack
Remember those versions that minecraft pranked us with? Specifically:
Minecraft 2.0
Minecraft 1.VR-Pre1
Snapshot 15w14a
Minecraft 3D
Those are still downloadable! Watch this video for 2.0:
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
Hey guys
I've made form of stock market on our realm server that's based on scoreboard commands.
For every stock there is a scorboard objectiv – in this case it's a dummy called "TaRo".
Also I've made a money-system, which is a scoreboard objectiv called "currency".
Now to my problem:
I've figured out how to use the "TaRo" in a tellraw command:
/tellraw player1 ["",{"score":{"name":"player1","objective":"TaRo"},"color":"green","bold":true}]
Is there a way to do something like this:
Yes. You can use:
scoreboard players operation player1 currency += player1 TaRo
You can also do -=, /=, %=, *=, and a few others.
Remember those versions that minecraft pranked us with? Specifically:
Those are still downloadable! Watch this video for 2.0:
https://www.youtube.com/watch?v=PQdu9LKAdIU
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
15w14a is on this link:
http://minecraft.gamepedia.com/15w14a
1.RV-Pre1 is here:
http://minecraft.gamepedia.com/1.RV-Pre1
Minecraft 3D is here:
https://minecraft.gamepedia.com/Java_Edition_3D_Shareware_v1.34
thanks a lot, it worked with this
/scoreboard players operation player1 currency += player1 TaRo
But now I have two other stocks which are worth 5$ per piece.
Is there a way to do that:
/scoreboard players operation player1 currency += player1 TaRo * 5 ?
You could simply repeat the adding command 5 times. If you need this to be versatile, create a new score called "temp" and one called "multiplier" (or whatever you want). "temp" is a temporary value used for calculations, and "multiplier" is the amount you want to multiply by. You could run the following commands:
/scoreboard players set player1 multiplier 5
/scoreboard players operation player1 temp = player1 TaRo
/scoreboard players operation player1 temp *= player1 multiplier
/scoreboard players operation player1 currency += player1 temp
An explanation of the steps:
Minecraft does not parse raw mathematical expressions.
Remember those versions that minecraft pranked us with? Specifically:
Those are still downloadable! Watch this video for 2.0:
https://www.youtube.com/watch?v=PQdu9LKAdIU
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
15w14a is on this link:
http://minecraft.gamepedia.com/15w14a
1.RV-Pre1 is here:
http://minecraft.gamepedia.com/1.RV-Pre1
Minecraft 3D is here:
https://minecraft.gamepedia.com/Java_Edition_3D_Shareware_v1.34