2

How to randomize with command blocks?

Nevermind3476's Avatar Nevermind34763/9/18 8:03 am
2 emeralds 2.6k 4
3/9/2018 8:28 pm
Nevermind3476's Avatar Nevermind3476
Does anybody know how to make an rng using command blocks and redstone? I'm not using it for anything in particular just thought it would be useful to know how.
Posted by Nevermind3476's Avatar
Nevermind3476
Level 24 : Expert Modder
12

Create an account or sign in to comment.

4

2
03/09/2018 10:08 am
Level 46 : Master Architect
Isz
Isz's Avatar
I wanted to make players get placed into a random prison cell to start a map, i used a red stone pulse going round in a circle of six command blocks. Did the job
1
03/09/2018 8:28 pm
Level 24 : Expert Modder
Nevermind3476
Nevermind3476's Avatar
That's what I've wound up doing (although with fewer blocks).
3
03/09/2018 8:14 am
Level 11 : Journeyman Taco
Quary
Quary's Avatar
If I want to randomize something, I place an armor stand. Use /spreadplayers on small region (like 3x3) and then just use /execute @e[type=armor_stand] ~ ~ ~ (command, you can use /setblock ~x ~y ~z redstone_block).

If you want simpler method, just make clock switching between two command block or more.
1
03/09/2018 7:34 pm
Level 24 : Expert Modder
Nevermind3476
Nevermind3476's Avatar
I don't really understand what you're saying in the first one, but I set something up with a clock and it seems to be working okay. Thanks.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome