The link was published on YouTube on Oct 5, 2013 by IVIICHAELxx. It is a good elevator and one that I still use. In addition to this, he has a multiple floor elevator and a hidden wall staircase that is one of the best designs I've seen.
This sounds/looks good To be quite honest, i thought you might appreciate the inverse: the gates staying open to allow foot traffic, but closing upon the arrival of a minecart. This could be accomplished using detector rails to generate a signal and thus no need for the pressure plates. Just a thought.
I tried this as you explained, but had issues the redstone torches being too close to the redstone beneath the pressure plates. As a resolve, I moved them one space further away and set the repeater to 4-ticks. Another change was to run a sticky piston upside down with a block on its plate. When the piston is activated, it pushes down the block that then connects a signal from a repeater being powered by a torch and redstone. I left out the Observer. This seemed to work well and allowed for time to travel through the gates. The white blocks indicate the changes...
Please make sure you copy the entire code. It is this line specifically ([{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~ ~-75 ~-1 ~ ~80 ~-1 redstone_block"},Passengers:[{id:falling_block,Block:redstone_block,Time:1}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}") that adds the redstone, and each line creates its separate command block.
For those of you that enjoy castles here is another castle that is created through a single command block. This castle also comes with its own moat. I have deliberately excluded windows, bars, and interior floor allowing you to fully customize it to your liking. I hope that you enjoy it and appreciate your feedback. Copy the code below. paste it into a command block and activate with redstone.
Like many, I have developed a strong liking for castle-building. Not the showcase castles, but rather those that can be used in every-day play. Of recent, however, I have also become attracted to command block technology and so now I have combined the two. When placed into an "Impulse" command block and activated by redstone (I usually place a block of redstone to the immediate right of the command block), a sizable castle shall be created. Some of its features you may enjoy are its high walls, large courtyard, hollow walls, towers with floors and windows, and a large main building and rear tower. However, I did one more thing that I feel sure you will like: a customized space at its entrance for a portcullis gate. This means that you don't have to tear something apart in order to build a nice 2-high, 3-high, or even 4-high Pegasus portcullis gate, and there is lots of room and opportunity for your own customization.
Placing a redstone block directly to the right of the castle command block, this "clean-up" command block should be plced two blocks the right of the redstone block. Initiating it with redstone will remove the 200+ combination of redstone and command blocks created, leaving you just one command block to remove.
Once again, thank you! :).... it found block #6 (LoL) The armor stand was visible for a few brief second and then vanished. Meanwhile, my screen filled up with text stating that it found the block at 34 56 10, to which turned out to be block #6.
One question: if changing the position of the conditional block from 15th to 16th and as the current 16th is based upon the conditional, what should be used to "fill" the block space? I don't think a simple switching of order will suffice, but could be wrong. Suggestions???
Much appreciated, and thank you! I shall give it a try...and did...
...something is definitely wrong...made the change and now the armor stand went into a continuous teleport loop into the void... I did see this happen before so I dont think it is related to the change; however, it is not constant so there is a bug in there... somewhere...somewhere
Thanks for the suggestion; however the "~ ~ ~-10" is to get that command block to look back 10 blocks in the direction of positive Z. It checks to see if the tp function failed (block 5). If yes, it proceeds to block 16, renaming the tag and thus begins a backtracking operation until it finds a suitable block to which it may go. At that point the initial loop continues (blocks 1 thru 15). As long as there are no "dead-ends" that prevent the armor stand from proceeding and the tp process in block 5 is a success, the first 15 blocks will continue until a stop is arrived. I can get the first part to work properly; however, it is when it reaches a dead-end that the process breaks down. Thanks again.
Using a tutorial by Lorgon111 on command blocks, i have attempted to create his maze generator. All works well up to the point where the armor stand reaches a dead end. Below, I have provided the code for each command block. There are two chains involved. The specific command block that seems to be failing is #15 of the long chain. The first chain, consisting of five command blocks sets up the area, summons and tags an armor stand, and places orange wool at its block to show its location and paint its travel. The long chain is used to map the travel. the numbers at the beginning of each line only indicate the command block and its place in the chain and are not included in its command line. Any help to get this working is appreciated. Thanks in advance.
0
The link was published on YouTube on Oct 5, 2013 by IVIICHAELxx. It is a good elevator and one that I still use. In addition to this, he has a multiple floor elevator and a hidden wall staircase that is one of the best designs I've seen.
0
This sounds/looks good To be quite honest, i thought you might appreciate the inverse: the gates staying open to allow foot traffic, but closing upon the arrival of a minecart. This could be accomplished using detector rails to generate a signal and thus no need for the pressure plates. Just a thought.
Cheers!
0
Thanks, I'll take another look at it.
0
I tried this as you explained, but had issues the redstone torches being too close to the redstone beneath the pressure plates. As a resolve, I moved them one space further away and set the repeater to 4-ticks. Another change was to run a sticky piston upside down with a block on its plate. When the piston is activated, it pushes down the block that then connects a signal from a repeater being powered by a torch and redstone. I left out the Observer. This seemed to work well and allowed for time to travel through the gates. The white blocks indicate the changes...
0
Please make sure you copy the entire code. It is this line specifically ([{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~ ~-75 ~-1 ~ ~80 ~-1 redstone_block"},Passengers:[{id:falling_block,Block:redstone_block,Time:1}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}") that adds the redstone, and each line creates its separate command block.
0
Done, and thanks for the suggestion.
0
/summon falling_block ~ ~1 ~ {Block:command_block,Time:1,TileEntityData:{Command:"/fill ~5 ~-10 ~5 ~45 ~1 ~76 air"},Passengers:[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~45 ~-11 ~5 ~76 ~1 ~75 air"},Passengers:[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~5 ~-9 ~5 ~44 ~-4 ~75 water"},Passengers:[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-10 ~6 ~75 ~-5 ~74 water"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-8 ~10 ~71 ~-2 ~70 stone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~9 ~-3 ~39 ~5 ~-4 ~41 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~4 ~-7 ~39 ~3 ~-6 ~41 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~2 ~-8 ~39 ~2 ~-8 ~41 stone_brick_stairs 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~3 ~-8 ~39 ~3 ~-8 ~41 stone_brick_stairs 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~4 ~-8 ~39 ~4 ~-8 ~41 stone_brick_stairs 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~5 ~-8 ~39 ~5 ~-8 ~41 stone_brick_stairs 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~14 ~-10 ~14 ~67 ~-2 ~66 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~18 ~-11 ~18 ~63 ~-3 ~62 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~19 ~-12 ~19 ~62 ~1 ~61 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-11 ~12 ~10 ~3 ~17 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-12 ~32 ~10 ~2 ~36 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-13 ~44 ~10 ~1 ~48 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-14 ~63 ~10 ~0 ~68 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~71 ~-15 ~12 ~71 ~-1 ~17 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~71 ~-16 ~63 ~71 ~-2 ~68 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-17 ~10 ~17 ~-3 ~10 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-18 ~19 ~17 ~-4 ~19 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-19 ~30 ~16 ~-5 ~30 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-20 ~38 ~16 ~-6 ~38 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-21 ~42 ~16 ~-7 ~42 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-22 ~50 ~16 ~-8 ~50 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-23 ~61 ~17 ~-9 ~61 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-24 ~70 ~17 ~-10 ~70 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~65 ~-25 ~70 ~69 ~-11 ~70 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~65 ~-26 ~61 ~69 ~-12 ~61 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~65 ~-27 ~19 ~69 ~-13 ~19 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~65 ~-28 ~10 ~69 ~-14 ~10 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~19 ~-29 ~12 ~19 ~-15 ~17 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~18 ~-23 ~32 ~18 ~-16 ~36 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~18 ~-24 ~44 ~18 ~-17 ~48 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~19 ~-32 ~63 ~19 ~-18 ~68 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~63 ~-33 ~63 ~63 ~-19 ~68 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~63 ~-34 ~12 ~63 ~-20 ~17 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~11 ~-35 ~11 ~18 ~-22 ~18 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~11 ~-37 ~31 ~17 ~-23 ~37 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~11 ~-38 ~43 ~17 ~-24 ~49 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~11 ~-39 ~62 ~18 ~-25 ~69 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~64 ~-40 ~62 ~70 ~-26 ~69 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~64 ~-41 ~11 ~70 ~-27 ~18 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~15 ~-41 ~38 ~17 ~-40 ~42 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~14 ~-41 ~40 iron_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~14 ~-43 ~40 iron_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~15 ~-43 ~39 stone_button 1"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~13 ~-44 ~41 stone_button 2"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~15 ~-47 ~13 ~69 ~-49 ~68 stone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~18 ~-46 ~40 dark_oak_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~18 ~-48 ~40 dark_oak_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~37 ~-50 ~12 ~44 ~-39 ~20 stone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~36 ~-39 ~11 ~45 ~-39 ~21 stonebrick"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~37 ~-40 ~12 ~44 ~-40 ~20 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~37 ~-53 ~60 ~44 ~-43 ~68 stone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~36 ~-43 ~59 ~45 ~-43 ~69 stonebrick"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~37 ~-44 ~60 ~44 ~-44 ~68 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~47 ~-56 ~29 ~63 ~-45 ~50 cobblestone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-46 ~29 ~46 ~-46 ~50 stone_brick_stairs 4"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~64 ~-47 ~29 ~64 ~-47 ~50 stone_brick_stairs 5"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~47 ~-57 ~40 dark_oak_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~47 ~-59 ~40 dark_oak_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-50 ~28 ~64 ~-50 ~28 stone_brick_stairs 6"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-51 ~51 ~64 ~-51 ~51 stone_brick_stairs 7"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~ ~-75 ~-1 ~ ~80 ~-1 redstone_block"},Passengers:[{id:falling_block,Block:redstone_block,Time:1}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}
For those of you that enjoy castles here is another castle that is created through a single command block. This castle also comes with its own moat. I have deliberately excluded windows, bars, and interior floor allowing you to fully customize it to your liking. I hope that you enjoy it and appreciate your feedback. Copy the code below. paste it into a command block and activate with redstone.
/summon falling_block ~ ~1 ~ {Block:command_block,Time:1,TileEntityData:{Command:"/fill ~5 ~-10 ~5 ~45 ~1 ~76 air"},Passengers:[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~45 ~-11 ~5 ~76 ~1 ~75 air"},Passengers:[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~5 ~-9 ~5 ~44 ~-4 ~75 water"},Passengers:[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-10 ~6 ~75 ~-5 ~74 water"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-8 ~10 ~71 ~-2 ~70 stone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~9 ~-3 ~39 ~5 ~-4 ~41 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~4 ~-7 ~39 ~3 ~-6 ~41 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~2 ~-8 ~39 ~2 ~-8 ~41 stone_brick_stairs 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~3 ~-8 ~39 ~3 ~-8 ~41 stone_brick_stairs 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~4 ~-8 ~39 ~4 ~-8 ~41 stone_brick_stairs 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~5 ~-8 ~39 ~5 ~-8 ~41 stone_brick_stairs 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~14 ~-10 ~14 ~67 ~-2 ~66 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~18 ~-11 ~18 ~63 ~-3 ~62 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~19 ~-12 ~19 ~62 ~1 ~61 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-11 ~12 ~10 ~3 ~17 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-12 ~32 ~10 ~2 ~36 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-13 ~44 ~10 ~1 ~48 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-14 ~63 ~10 ~0 ~68 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~71 ~-15 ~12 ~71 ~-1 ~17 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~71 ~-16 ~63 ~71 ~-2 ~68 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-17 ~10 ~17 ~-3 ~10 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-18 ~19 ~17 ~-4 ~19 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-19 ~30 ~16 ~-5 ~30 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-20 ~38 ~16 ~-6 ~38 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-21 ~42 ~16 ~-7 ~42 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-22 ~50 ~16 ~-8 ~50 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-23 ~61 ~17 ~-9 ~61 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~-24 ~70 ~17 ~-10 ~70 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~65 ~-25 ~70 ~69 ~-11 ~70 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~65 ~-26 ~61 ~69 ~-12 ~61 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~65 ~-27 ~19 ~69 ~-13 ~19 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~65 ~-28 ~10 ~69 ~-14 ~10 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~19 ~-29 ~12 ~19 ~-15 ~17 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~18 ~-23 ~32 ~18 ~-16 ~36 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~18 ~-24 ~44 ~18 ~-17 ~48 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~19 ~-32 ~63 ~19 ~-18 ~68 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~63 ~-33 ~63 ~63 ~-19 ~68 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~63 ~-34 ~12 ~63 ~-20 ~17 cobblestone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~11 ~-35 ~11 ~18 ~-22 ~18 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~11 ~-37 ~31 ~17 ~-23 ~37 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~11 ~-38 ~43 ~17 ~-24 ~49 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~11 ~-39 ~62 ~18 ~-25 ~69 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~64 ~-40 ~62 ~70 ~-26 ~69 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~64 ~-41 ~11 ~70 ~-27 ~18 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~15 ~-41 ~38 ~17 ~-40 ~42 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~14 ~-41 ~40 iron_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~14 ~-43 ~40 iron_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~15 ~-43 ~39 stone_button 1"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~13 ~-44 ~41 stone_button 2"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~15 ~-47 ~13 ~69 ~-49 ~68 stone 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~18 ~-46 ~40 dark_oak_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~18 ~-48 ~40 dark_oak_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~37 ~-50 ~12 ~44 ~-39 ~20 stone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~36 ~-39 ~11 ~45 ~-39 ~21 stonebrick"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~37 ~-40 ~12 ~44 ~-40 ~20 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~37 ~-53 ~60 ~44 ~-43 ~68 stone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~36 ~-43 ~59 ~45 ~-43 ~69 stonebrick"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~37 ~-44 ~60 ~44 ~-44 ~68 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~47 ~-56 ~29 ~63 ~-45 ~50 cobblestone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-46 ~29 ~46 ~-46 ~50 stone_brick_stairs 4"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~64 ~-47 ~29 ~64 ~-47 ~50 stone_brick_stairs 5"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~47 ~-57 ~40 dark_oak_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~47 ~-59 ~40 dark_oak_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-50 ~28 ~64 ~-50 ~28 stone_brick_stairs 6"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-51 ~51 ~64 ~-51 ~51 stone_brick_stairs 7"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~ ~-75 ~-1 ~ ~80 ~-1 redstone_block"},Passengers:[{id:falling_block,Block:redstone_block,Time:1}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}
0
Like many, I have developed a strong liking for castle-building. Not the showcase castles, but rather those that can be used in every-day play. Of recent, however, I have also become attracted to command block technology and so now I have combined the two. When placed into an "Impulse" command block and activated by redstone (I usually place a block of redstone to the immediate right of the command block), a sizable castle shall be created. Some of its features you may enjoy are its high walls, large courtyard, hollow walls, towers with floors and windows, and a large main building and rear tower. However, I did one more thing that I feel sure you will like: a customized space at its entrance for a portcullis gate. This means that you don't have to tear something apart in order to build a nice 2-high, 3-high, or even 4-high Pegasus portcullis gate, and there is lots of room and opportunity for your own customization.
/summon falling_block ~ ~1 ~
{Block:command_block,Time:1,TileEntityData:{Command:"/fill ~6 ~-2 ~7 ~57 ~8 ~57 cobblestone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~10 ~-3 ~10 ~54 ~7 ~54 cobblestone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~12 ~6 ~13 ~51 ~6 ~51 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~3 ~-5 ~4 ~11 ~15 ~12 cobblestone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~3 ~-6 ~52 ~11 ~14 ~60 cobblestone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~52 ~-7 ~4 ~60 ~13 ~12 cobblestone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~52 ~-8 ~52 ~60 ~12 ~60 cobblestone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~6 ~-14 ~30 ~10 ~2 ~34 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-8 ~6 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-9 ~10 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-10 ~54 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-11 ~58 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~11 ~-12 ~11 dark_oak_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~11 ~-14 ~11 dark_oak_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~11 ~-14 ~53 dark_oak_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~11 ~-16 ~53 dark_oak_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~52 ~-16 ~11 dark_oak_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~52 ~-18 ~11 dark_oak_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~52 ~-18 ~53 dark_oak_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~52 ~-20 ~53 dark_oak_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-20 ~6 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-21 ~10 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-22 ~54 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-23 ~58 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~5 ~-24 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~9 ~-25 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~5 ~-26 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~9 ~-27 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~54 ~-28 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~58 ~-29 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~54 ~-30 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~58 ~-31 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~5 ~-33 ~28 ~3 ~-29 ~36 stone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~2 ~-34 ~29 ~2 ~-30 ~35 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~2 ~-35 ~30 ~5 ~-32 ~34 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~47 ~-36 ~20 ~70 ~-22 ~45 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~70 ~-37 ~26 ~75 ~-26 ~39 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~78 ~-38 ~25 ~85 ~-16 ~25 cobblestone"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~78 ~-39 ~40 ~85 ~-17 ~40 cobblestone"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~76 ~-40 ~27 ~76 ~-18 ~38 cobblestone"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~87 ~-41 ~27 ~87 ~-19 ~38 cobblestone"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~77 ~-42 ~26 ~86 ~-21 ~39 stone 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~70 ~-42 ~31 ~77 ~-38 ~34 air"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~46 ~-44 ~20 ~44 ~-44 ~45 stonebrick 0 hollow"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~47 ~-43 ~33 iron_door 8"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~47 ~-45 ~33 iron_door 0"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~48 ~-45 ~32 stone_button 1"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~46 ~-46 ~34 stone_button 2"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~4 ~-45 ~5 ~10 ~-45 ~11 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~4 ~-41 ~5 ~10 ~-41 ~11 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-45 ~6 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-46 ~10 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-42 ~6 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-43 ~10 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~5 ~-49 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~9 ~-50 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~5 ~-46 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~9 ~-47 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~4 ~-55 ~53 ~10 ~-55 ~59 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~4 ~-51 ~53 ~10 ~-51 ~59 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-55 ~54 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-56 ~58 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~5 ~-57 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~9 ~-58 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-54 ~54 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-55 ~58 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~5 ~-56 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~9 ~-57 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~53 ~-60 ~53 ~59 ~-60 ~59 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~53 ~-66 ~53 ~59 ~-66 ~59 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~54 ~-61 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~58 ~-62 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~54 ~-67 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~58 ~-68 ~60 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-69 ~54 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-70 ~58 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-67 ~54 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-68 ~58 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~53 ~-75 ~5 ~59 ~-75 ~11 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~53 ~-71 ~5 ~59 ~-71 ~11 planks"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-75 ~6 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-76 ~10 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~54 ~-72 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~58 ~-7 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~6 ~-75 ~28 ~6 ~-80 ~36 stonebrick"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-75 ~6 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~60 ~-76 ~10 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~54 ~-77 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~58 ~-78 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-79 ~56 cobblestone"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~3 ~-80 ~58 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~54 ~-86 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~58 ~-87 ~4 iron_bars"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/setblock ~5 ~-87 ~32 wall_sign 4 replace
{Text1:\"{\\\"text\\\":\\\"Created by\\\"}\",Text2:\"{\\\"text\\\":\\\"NotWithoutHope\\\"}\"}"},Passengers:
[{id:falling_block,Block:command_block,Time:1,TileEntityData:{Command:"/fill ~ ~-95 ~-1 ~ ~90 ~-1 redstone_block"},Passengers:
[{id:falling_block,Block:redstone_block,Time:1}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}
CLEAN-UP COMMAND BLOCK:
/fill ~ ~ ~-5 ~ ~186 ~-2 air
Placing a redstone block directly to the right of the castle command block, this "clean-up" command block should be plced two blocks the right of the redstone block. Initiating it with redstone will remove the 200+ combination of redstone and command blocks created, leaving you just one command block to remove.
HAVE FUN!
0
Once again, thank you! :).... it found block #6 (LoL) The armor stand was visible for a few brief second and then vanished. Meanwhile, my screen filled up with text stating that it found the block at 34 56 10, to which turned out to be block #6.
0
One question: if changing the position of the conditional block from 15th to 16th and as the current 16th is based upon the conditional, what should be used to "fill" the block space? I don't think a simple switching of order will suffice, but could be wrong. Suggestions???
0
Thanks, and will do!!! The extra eyes are sincerely appreciated.
0
Much appreciated, and thank you! I shall give it a try...and did...
...something is definitely wrong...made the change and now the armor stand went into a continuous teleport loop into the void... I did see this happen before so I dont think it is related to the change; however, it is not constant so there is a bug in there... somewhere...somewhere
0
Thanks for the suggestion; however the "~ ~ ~-10" is to get that command block to look back 10 blocks in the direction of positive Z. It checks to see if the tp function failed (block 5). If yes, it proceeds to block 16, renaming the tag and thus begins a backtracking operation until it finds a suitable block to which it may go. At that point the initial loop continues (blocks 1 thru 15). As long as there are no "dead-ends" that prevent the armor stand from proceeding and the tp process in block 5 is a success, the first 15 blocks will continue until a stop is arrived. I can get the first part to work properly; however, it is when it reaches a dead-end that the process breaks down. Thanks again.
0
Using a tutorial by Lorgon111 on command blocks, i have attempted to create his maze generator. All works well up to the point where the armor stand reaches a dead end. Below, I have provided the code for each command block. There are two chains involved. The specific command block that seems to be failing is #15 of the long chain. The first chain, consisting of five command blocks sets up the area, summons and tags an armor stand, and places orange wool at its block to show its location and paint its travel. The long chain is used to map the travel. the numbers at the beginning of each line only indicate the command block and its place in the chain and are not included in its command line. Any help to get this working is appreciated. Thanks in advance.
Short chain:
1 summon armor_stand ~8 ~1 ~8 {Tags:["AS"]}
2 fill ~5 ~0 ~5 ~95 ~ ~95 wool 15
3 /kill @e[type=!Player]
4 /summon armor_stand ~8 ~ ~8 {Tags:["AS"]}
5 /execute @e[tag=AS] ~ ~ ~ setblock ~ ~ ~ wool 1
Long chain:
1 /execute @e[tag=AS] ~ ~ ~ detect ~ ~ ~2 wool 15 summon armor_stand ~ ~ ~2 {Tags:["R", "ZP"]}
2 /execute @e[tag=AS] ~ ~ ~ detect ~ ~ ~-2 wool 15 summon armor_stand ~ ~ ~-2 {Tags:["R", "ZN"]}
3 /execute @e[tag=AS] ~ ~ ~ detect ~2 ~ ~ wool 15 summon armor_stand ~2 ~ ~ {Tags:["R", "XP"]}
4 /execute @e[tag=AS] ~ ~ ~ detect ~-2 ~ ~ wool 15 summon armor_stand ~-2 ~ ~ {Tags:["R", "XN"]}
5 /tp @e[tag=AS] @r[type=Armor_stand,tag=R]
6 /execute @e[tag=AS] ~ ~ ~ /execute @e[tag=ZP,r=0] ~ ~ ~ setblock ~ ~ ~ command_block 10
7 /execute @e[tag=AS] ~ ~ ~ /execute @e[tag=ZP,r=0] ~ ~ ~ setblock ~ ~ ~-1 wool 0
8 /execute @e[tag=AS] ~ ~ ~ /execute @e[tag=ZN,r=0] ~ ~ ~ setblock ~ ~ ~ command_block 11
9 /execute @e[tag=AS] ~ ~ ~ /execute @e[tag=ZN,r=0] ~ ~ ~ setblock ~1 ~ ~ wool 0
10 /execute @e[tag=AS] ~ ~ ~ /execute @e[tag=XP,r=0] ~ ~ ~ setblock ~ ~ ~ command_block 12
11 /execute @e[tag=AS] ~ ~ ~ /execute @e[tag=XP,r=0] ~ ~ ~ setblock ~ ~ ~-1 wool 0
12 /execute @e[tag=AS] ~ ~ ~ /execute @e[tag=XN,r=0] ~ ~ ~ setblock ~ ~ ~ command_block 13
13 /execute @e[tag=AS] ~ ~ ~ /execute @e[tag=XN,r=0] ~ ~ ~ setblock ~1 ~ ~ wool 0
14 /kill @e[tag=R]
15 /testforblock ~ ~ ~-10 chain_command_block -1 {successCount:0} ***this is a conditional block***
16 /entitydata @e[tag=AS] {Tags:["DE"]}
17 /execute @e[tag=DE] ~ ~ ~ detect ~ ~ ~ command_block 10 setblock ~ ~ ~-1 wool 1
18 /execute @e[tag=DE] ~ ~ ~ detect ~ ~ ~ command_block tp @e[tag=DE] ~ ~1 ~-2
19 /execute @e[tag=DE] ~ ~ ~ detect ~ ~ ~ command_block 11 setblock ~ ~ ~1 wool 1
20 /execute @e[tag=DE] ~ ~ ~ detect ~ ~ ~ command_block 11 tp @e[tag=DE] ~ ~1 ~2
21 /execute @e[tag=DE] ~ ~ ~ detect ~ ~ ~ command_block 12 setblock ~-1 ~ ~ wool 1
22 /execute @e[tag=DE] ~ ~ ~ detect ~ ~ ~ command_block 12 tp @e[tag=DE] ~-2 ~1 ~
23 /execute @e[tag=DE] ~ ~ ~ detect ~ ~ ~ command_block 13 setblock ~1 ~ ~ wool 1
24 /execute @e[tag=DE] ~ ~ ~ detect ~ ~ ~ command_block 13 tp @e[tag=DE] ~2 ~1 ~
25 tp @e[tag=DE] ~ ~-1 ~
26 /entitydata @e[tag=DE] {Tags:["AS"]}
Note: tried using "/execute if block <x y z>" but that didn't work..
https://www.minecraftforum.net/forums/minecraft-java-edition/recent-updates-and-snapshots/2844075-how-to-use-the-execute-replacement-commands-for-1
Comments, help on any and/or all of this is appreciated.