Maps Redstone Device

Headaxe's Redstone Map Generator

  • 2.9k views 0 today
  • save_alt 97 downloads
Progress
100% complete
Added CreditHeadaxe
  • 30
  • 8
  • 25
Headaxe
Lvl 55Grandmaster Technomancer
419
First of all I'd like to apologize for any inconvenience caused by my bad english skills, which are the reason for possible spelling/grammer mistakes.



What can this thing do?

This device is able to select tiles randomly and to put them together in a pattern, which creates a randomly generated map.

Here you can see it's astonishing results:
undefined



And how does it do that?

The machine you'll read about is a revolutionary combination of an extremely simply and efficient redstone randomizer and a nearly perfect system for generating the world.
It can give you absolutely astonishing results, considering the fact, that it was all made by very simple redstone wires and not a single clock.

It consists out of a possibly unlimited amount of smaller redstone device tiles, that are all resetting themselves after getting activated.
Every tile can exist individually, putting them in such a pattern is optional.
All you have to do, in order to create a map with this generator is putting them all together and maybe adding a button, that triggers them all at the same moment.

This is how the redstone looks when you press the button and start generating:
undefined



And how does the redstone work?
undefined
Step 1
The state in which the tile is at the beginning at the process or when it is unpowered.
After a reset all dispensers are completely refilled, so you just have to replace the wool with a redstone block to start it.
Step 2
The first thing that happens after replacing wool with redstone.
The redstone on top of the first dispenser gets triggered.

Commands:
/fill ~+1 ~0 ~+1 ~+64 ~0 ~+64 redstone_block 0 replace wool 0
Step 3
The dispenser places 1/4 command blocks (+NBT), that are inside the dispenser.
Which command block is chosen is always random.
Step 4
The placed command block is triggered instantly, because it gets placed next to a redstone block.
The command block's "/setblock" command replaces 1/4 redstone blocks with air, so 1/4 dispensers gets unpowered.

Commands:
/setblock ~+1 ~0 ~-2 air
/setblock ~+1 ~0 ~-1 air
/setblock ~+1 ~0 ~+1 air
/setblock ~+1 ~0 ~+2 air
Step 5
Right after that, the first repeaters (at full delay) are powered by the redstone on the dispenser.
Step 6
The command block, which was activated by the repeater refills the missing air block in the row of redstone blocks.
That is going to power the dispenser.
Only one dispenser gets triggered by this process, because the other three dispensers were powered all the time already.

Commands:
/fill ~+2 ~0 ~0 ~+2 ~0 ~+4 redstone_block
Step 7
The trigerred dispenser places 1/9 possible command blocks.
Every dispenser has 9 unique command blocks on it, so in the end there are 4*9=36 different command blocks, that the randomizer can choose between.

The placed command block gets triggered instantly, as it is next to a redstone block.
It clones an existing 8x8 blocks large tile and pastes it above the redstone device.
There are 36 different tiles and 1 command block for each of them.

Commands:
/clone 100000 100 100000 100007 128 100007 ~-5 ~+3 ~-1
(only 1/36 commands. You can find a full list of clone commands in the world save.)
Step 8
The last second repeater (at full delay) gets triggered and activates a command block, which is going to clone an exact copy of the redstone device in default state to the top, which resets the whole thing, refills dispensers and deactivates all redstone.

Commands:
/clone ~-1 ~-5 ~-6 ~+6 ~-3 ~+1 ~-1 ~-1 ~-6



What can this be used for?
The possibilites are nearly endless.
You could make PVP maps with randomly generated arenas, random puzzle maps, custom mazes and much, much more.
It has gives all maps the advantage, that it doesn't give you the chance to remember a certain area, only skills count on PVP maps.
I hope this project gives everyone the inspiration to use this system for their own maps.
See you!

Thank you for reading this tutorial, see you later!


                                             undefined

More like this

  Have something to say?

_Whitey
11/22/2015 4:32 pm
Level 20 : Expert Button Pusher
I'm running 1.8 and it's not working for me :(
1
Headaxe
11/22/2015 5:22 pm
Level 55 : Grandmaster Technomancer
Placing command blocks with dispensers was disabled in 1.8.
I believe that there is an MCedit filter that fixes the issue though.
1
_Whitey
11/22/2015 5:42 pm
Level 20 : Expert Button Pusher
okay thank you, I'll see if I can work it out :)
1
iansonwheels
04/21/2014 1:05 pm
Level 17 : Journeyman Geek
Wow, this is really cool
1
Headaxe
04/21/2014 1:07 pm
Level 55 : Grandmaster Technomancer
Yeah.
I had to steal a lot of coolness, which I combined into this machine.
The generator itself runs on coolness, but don't ask me how my engineer made that happen.
1
MLGPortalMaster
06/05/2014 2:31 pm
Level 11 : Journeyman System
ok headaxe i love you can you make a computer
1
Headaxe
06/05/2014 2:35 pm
Level 55 : Grandmaster Technomancer
This is not a computer, it is a random generator o.O
1
MLGPortalMaster
06/08/2014 3:10 pm
Level 11 : Journeyman System
Headaxe i said make a computer soon not this is a computer
1
Headaxe
06/09/2014 3:31 am
Level 55 : Grandmaster Technomancer
I actually already thought about a machine that lets the scoreboard calculate, would be like 1000 times more compact then this shitty redstone computers.
1
Torcher
04/14/2014 1:18 pm
Level 1 : New Miner
Great idea! :D
1
Headaxe
04/14/2014 1:19 pm
Level 55 : Grandmaster Technomancer
Thanks ^^
1

Welcome