How To Create Random Number Generators In Minecraft Using Command Blocks: Part 2

Published 2023-09-05
In this video, I will show you how to add weight values to random number generators in Minecraft using Command Blocks.

Remove a RNG with this command:
/scoreboard players reset RNG1

List of commands from Episode 1:
/scoreboard objectives add RNG dummy "Random Number Generators"
/scoreboard objectives setdisplay sidebar RNG
/execute store result score RNG1 RNG run data get entity @e[sort=random,limit=1,tag=RNG1] FallDistance
/summon pig ~ ~ ~ {NoAI:1,Invulnerable:1,Tags:[RNG1],FallDistance:1}

Get a command block with this command:
/give @p command_block

All Comments (2)