Minecraft – How many possible outcomes will there be to the Minecraft lock

minecraft-java-editionminecraft-redstone

I just built a lock for a door in Minecraft. The user has to pick the correct four colors out of twelve. Order doesn't matter. What is the probability of the user guessing the correct colors?

Best Answer

  1. You have 4/12 of a chance of picking the first colour right.

  2. You have 3/11 of a chance of picking the second colour right from the remaining eleven colours, if you got the first right.

  3. You have 2/10 of a chance of picking the third colour right from the remaining ten colours, if you got the former two colours right.

  4. You have 1/9 of a chance of picking the fourth colour right from the remaining nine colours, if you got the former three colours right.

Hence, the probability of guessing the combination is: 4/12 × 3/11 × 2/10 × 1/9 = 495-1.

In other words, there are 495 different combinations, of which one is correct.

Obviously, all of this is useless, unless you are working on a exploration mode map. It's much faster to just take a pick and destroy your door.