One Command Block Generator
Relative Y height
Case main block
Case top/bottom blocks
Below is a list of the built in functions. They can be used by entering them as a command in the command combiner below!
Writing $(block id)$ before any clock command in the command combiner will place the block you specified next to that command block, so you can find it easily. This example will place a lapis block next to the "/say hi" command.
Using this in the command combiner would allow you to throw a grass block item and a stone block item together on the ground to create 1 diamond sword named "Magic Sword".
Using this in the command combiner will allow you to create a title (more colours are options coming soon).
If you are already familiar with command blocks, you should already be a master at using the command combiner! Simply write some commands, each on a new line in the large text field below. They will all be placed on a 20hz fill clock in the final command. If there is a command that you only want to run once, just write INIT: before that command. This is mostly useful for adding scoreboard objectives and for /tellraw install messages.
If you were to write these 2 lines in the command combiner, it would give every player 1 stone upon install, then it would constantly spam the chat with "test", 20 times per second.
Comments are a very useful feature to help you organize your project. A line can be commented by placing a # before the line. The commented line will be ignored when the command is generated.
If you were to copy and paste those 2 lines into the command combiner, only the second one would appear in the final command. The commented line would be ignored.
In addition to being able to write the commands line-by-line into the command combiner, you can also use MCEdit to convert an in-game creation into a one-command install creation, with this filter! Check the box below if you have used
the filter to import a creation from a world for this command.
Import via MCEdit
To use the filter on a pre-built command block contraption, simply open the world in MCEdit. Then, select the clock and command blocks that you want to compress into one command. Run the filter, and place the generated command block somewhere in the world. Now, open the world in Minecraft, right click the generated command block, then copy all of the text from it. Paste this text into the command input field below, and check the checkbox above, which reads "Import via MCEdit filter". Now, change your options as you please, and press generate. Note that the filter only will work for creations that are on a 20hz clock. To have commands that only are executed once, just include them in the selection, but don't have them on a clock. If the creation was originally split among multiple 20hz clocks in your world, the filter may be unable to preserve the original order or execution.