Some of you like the commands and some make very cool machines. But there's some people who doesn't know how to share their creations. Some of them do that with a map. But there's some people who doesn't like to download the maps. So a better way is to make a one command block machine. I'll explain you how to make that.
Methods
There are many ways to make these machines. There is a MCEdit filter to do this. It's called One command block generator. On MCEdit
There is also the mrgarreto's website where you can put the commands and the machine will appear.
And the last method is make the command by hand. I make these type of machines by hand but they take much time so you need to prepare yourself to work on this.
So I'll explain the third method. The one command block machines generates a bunch of FallingSand Entities riding each other or minecarts with command blocks but I prefer the falling sand one. So here is one of these machines created by me:
So like you see. It is a bunch of entities riding each other. I'll explain you the basic commands. So the block which will be on the top woll be a redstone block to activate all the machine and to do that you need to put a fill command in the command block which the redstone block is riding.
The last command block in the bottom will always have the "gamerule commandBlockOutput false" command; and a redstone block riding it. That's to hide all the command output in the chat.
Now the final part is the machine. You're making this to make a machine so the other command blocks are between the redstone block at the bottom and the second fill command. Those commands are setblocks to set the machine. Remember you can't use coordinates. You need to use ~ ~ ~ for all the coordinates executing commands. That's basically all what I need to explain.
Introduction
Some of you like the commands and some make very cool machines. But there's some people who doesn't know how to share their creations. Some of them do that with a map. But there's some people who doesn't like to download the maps. So a better way is to make a one command block machine. I'll explain you how to make that.
Methods
There are many ways to make these machines. There is a MCEdit filter to do this. It's called One command block generator. On MCEdit
There is also the mrgarreto's website where you can put the commands and the machine will appear.
And the last method is make the command by hand. I make these type of machines by hand but they take much time so you need to prepare yourself to work on this.
So I'll explain the third method. The one command block machines generates a bunch of FallingSand Entities riding each other or minecarts with command blocks but I prefer the falling sand one. So here is one of these machines created by me:
So like you see. It is a bunch of entities riding each other. I'll explain you the basic commands. So the block which will be on the top woll be a redstone block to activate all the machine and to do that you need to put a fill command in the command block which the redstone block is riding.
Like you see there. And the next command is a fill command too but it is to remove all the blocks after running the machine
The last command block in the bottom will always have the "gamerule commandBlockOutput false" command; and a redstone block riding it. That's to hide all the command output in the chat.
Those are the basic commands of the machine.
The Machine
Now the final part is the machine. You're making this to make a machine so the other command blocks are between the redstone block at the bottom and the second fill command. Those commands are setblocks to set the machine. Remember you can't use coordinates. You need to use ~ ~ ~ for all the coordinates executing commands. That's basically all what I need to explain.
After writing the falling sand block, the id, the and the time
like this:
so write:
for write the command. And the command inside will be a setblock of a command block running a command.
That's it.
I hope you can learn something with this. Feel free to ask, comment and give ideas for tutorials in the future.
And don't forget to look those command machines.
And share all your one command block machines here.
This:
Command inception in one command.
And it doesn't work. You know?
{id:FallingSand,Block:command_block,Time:1,TileEntityData:{Command:fill ~1 ~1 ~ ~1 ~-5 ~ redstone_block},Riding:
{id:FallingSand,Block:command_block,Time:1,TileEntityData:{Command:fill ~1 ~2 ~ ~ ~-5 ~ air},Riding:
{id:FallingSand,Block:command_block,Time:1,TileEntityData:{Command:/say Here is your diamond pickaxe},Riding:
{id:FallingSand,Block:command_block,Time:1,TileEntityData:{Command:give @p diamond_pickaxe},Riding:
{id:FallingSand,Block:redstone_block,Time:1,Riding:
{id:FallingSand,Block:command_block,Time:1,TileEntityData:{Command:gamerule commandBlockOutput false}}}}}}}}