In Hypixel, you are teleported to a random map when you play a game. How could I recreate this in my world?
2 Answers
The easiest way would be to have entities at each point and teleport the player to a random entity with @r. Only works in loaded chunks though.
By default @r only selects players, so you have to specify a type. For armor stands for example it's @r[type=armor_stand].
- 69
- 2
Unfortunately there is no way to randomize commands using JUST command blocks, so redstone is your only option.
The dropper randomizer works great, just have a dropper with a piece of dirt and a sword feed into a hopper, have a comparator detect what's in the hopper (1 length of redstone for dirt, 3 for the sword.) and have the 3 length cancel the first command and activate the second.
It sounds complex, but there are plenty of tutorials on YouTube under "dropper randomizer" that can help you.
- 2,016
- 6
- 20
- 38