What is wrong with what I made using signs?

What is wrong with what I made using signs? - What Text on a Pink Surface

In minecraft I had a fast clock and two command blocks:

 #1 execute @p[score_Lot1_min=0] ~ ~ ~ setblock -6 6 1 wall_sign 2 replace {Text1:"Lot 1", Text3:"$15,000"}

 #2 execute @p[score_Lot1_min=1] ~ ~ ~ setblock -6 6 1 wall_sign 2 replace {Text1:"Lot Tooken"}

No matter what my Lot1 score is it always uses the first command, but it says it works on both command blocks. Any Help



Best Answer

The first one is probably being executed after the second, and since your score is at least 0, it executes, overriding the other. I think you have to use [score_Lot1_min=0, score_Lot1=0] to check exact value.




Pictures about "What is wrong with what I made using signs?"

What is wrong with what I made using signs? - Text
What is wrong with what I made using signs? - From above of crop anonymous economist calculating on calculator with plastic buttons while making budget on marble table
What is wrong with what I made using signs? - Crop anonymous economist using calculator app on smartphone at work





8 Signs You're Using The Internet Wrong




More answers regarding what is wrong with what I made using signs?

Answer 2

Since it is executing both commands at the same time, it will pick the one that applies the most, in this case the first command block. This is because even if your Lot1 score is greater than one, the first command where your Lot1 score only needs to be greater than zero.

Because of this both commands are being executed but, the first one is true in every situation making it apply further.

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Ann H, Jeff Stapleton, Karolina Grabowska, Karolina Grabowska