Uploaded October 2018 | Updated September 2026, 2 hours ago
Hey, guys! Today I show you a way to generate random numbers from 0 to 2147483647 with one command and a few entities. The command doesn't summon any more command blocks or run any functions; it just executes a line of code! In terms of lag efficiency, running one on a constant clock barely seems to have a noticeable impact, so I'd say it's pretty good. I hope you guys enjoyed the video, and if you did a like would be much appreciated!
Download: mediafire.com/file/1eux8sllb8ylnby/Randomizer.zip/file
EmeraldFyre3's video: youtube.com/watch?v=L7XAdKfO1bA&t=208s
COMMAND:
/execute as @e[tag=random] as @e[tag=random] as @e[tag=random] as @e[tag=random] as @e[tag=random] as @e[tag=random,sort=furthest] at @s run scoreboard players operation @e[type=armor_stand,distance=..1,sort=random,limit=1] random += @e[name=BlueWool,scores={random=1..}] random
(If running in a function, execute the command at the location of the BlueWool armor_stand)
Hey, guys! Today I show you a way to generate random numbers from 0 to 2147483647 with one command and a few entities. The command doesn't summon any more command blocks or run any functions; it just executes a line of code! In terms of lag efficiency, running one on a constant clock barely seems to have a noticeable impact, so I'd say it's pretty good. I hope you guys enjoyed the video, and if you did a like would be much appreciated!
Download: mediafire.com/file/1eux8sllb8ylnby/Randomizer.zip/file
EmeraldFyre3's video: youtube.com/watch?v=L7XAdKfO1bA&t=208s
COMMAND:
/execute as @e[tag=random] as @e[tag=random] as @e[tag=random] as @e[tag=random] as @e[tag=random] as @e[tag=random,sort=furthest] at @s run scoreboard players operation @e[type=armor_stand,distance=..1,sort=random,limit=1] random += @e[name=BlueWool,scores={random=1..}] random
(If running in a function, execute the command at the location of the BlueWool armor_stand)







![Minecraft Slim-Line 2x2 Pixel Display! [Showcase]
Hope you guys enjoyed the video! Minecraft Slim-Line 2x2 Pixel Display! [Showcase]](https://i.ytimg.com/vi/UVDVj4RfZ9A/mqdefault.jpg)
![Sand Trap! [Minecraft]
Once again, hope you guys enjoyed! Sand Trap! [Minecraft]](https://i.ytimg.com/vi/UpuluTNoqvk/mqdefault.jpg)

