Maps Other

Command Block Random Number Generator

  • 36 views • 1 today
  • 3 downloads • 0 today
  • 1
  • 0
MikhailCommandRedstone
Level 1 : New Miner
0
Yup! This a random number generator made with Command Blocks and a 20x20 Redstone Lamp display! Remember, if you don't spawn next it, type in this command "/tp 3 56 10", otherwise, try out the "GENERATE" button and "RESET" button! Here is how it works:

So as you know by now, this is a random number generator, made with Command Blocks, each number has a 11.11% chance to generate a random number from 1 to 9! The numbers are 1x1 density displays, meaning each lamp is its own pixel, and it uses 7 segment displays to generate. Oh and when you press the "GENERATE" button, it just generates a random number, 1 digit, 1 through 9, and the other "RESET" button just turns the screen blank. And this is also technically a datapack as well! This thing was programmed in Windows PowerShell, and it only works on Java edition, if you try it on Bedrock, Pocket, etc, then it just won't work, the mechanics there are different, and the download system is also different. But how do the lamps get lit? Redstone Blocks, whenever the game or whatever thing that stores those numbers receive the data and randomly decide what number to choose from, and when for example, you pressed the "GENERATE" button, it picked "3" so the Redstone Blocks will be placed on the Redstone Lamps behind to form a "3" shape and power those specific lamps! I hope you enjoy, thank you!
Progress100% complete
Tags

  Have something to say?

Welcome