Command Combiner Universal 1.8

By MrGarrettoFollow @JustMrGarretto

Options
Structure Shape
Boxed
Horizontal
Vertical
Relative Y height
Encasing Options
Enable casing
Case main block
Case top/bottom blocks
Box Options
Limit per row6

Use /blockdata
Smart mode
Signs
Add Sign
Help
Huge thanks to Marcono1234 for helping me set up the correct escaping sequence!
Show built in functions
How to use
MCEdit Filter
Other Combiners
Built in functions

Below is a list of the built in functions. They can be used by entering them as a command in the command combiner below!

Block Markers
$(block id)$(regular command)
Examples
$lapis_block$/say hi

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.

Floor Crafting
%customcrafting; (ingredient 1); (ingredient 2); (result item); (amount); {result item NBT}
Examples
%customcrafting; grass; stone; diamond_sword; 1; {display:{Name:"Magic Sword"}}

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".

How to use the command combiner
Writing commands

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.

Examples
INIT:/give @a stone 1
/say test

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.

Comment lines

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.

Examples
# Removes 1 from the score 'Ex' until it is at 0
/scoreboard players remove @a[score_Ex_min=1] Ex 1

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.

MCEdit Filter

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

How to use the filter

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.

Other Command Combiners

Below are the other variants of my command combiners.

Previous Boxed Version
Command Combiner Boxed
Vertical Version
Command Combiner Vertical
Original Horizontal Version
Command Combiner Horizontal
Output
Generate