One Command Syntax Highlighter
A sublime syntax for Minecraft 1.9 One Commands.
- Total 499
- Win 352
- Mac 89
- Linux 58
|Apr 9||Apr 8||Apr 7||Apr 6||Apr 5||Apr 4||Apr 3||Apr 2||Apr 1||Mar 31||Mar 30||Mar 29||Mar 28||Mar 27||Mar 26||Mar 25||Mar 24||Mar 23||Mar 22||Mar 21||Mar 20||Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10||Mar 9||Mar 8||Mar 7||Mar 6||Mar 5||Mar 4||Mar 3||Mar 2||Mar 1||Feb 29||Feb 28||Feb 27||Feb 26||Feb 25|
What it adds
Generates a self-activating one-command contraption from the current file.
Generates a manually-activated one-command contraption from the current file.
Sorts any entity/player selector tags within the selection by alphabetical order.
Explodes the commands selected, using
\ syntax to keep them in the same line in the eyes of the generator.
\ syntax down to normal lines.
A syntax highlighter for the special syntax accepted by the generator. Uses the file extension
Most of the differences between 1CC syntax and regular commands lie in the prepends.
INIT:as a prepend will make the command only run once, when you run the command.
COND:as a prepend will make the command only run if the previous one was successful. Not recommended to use on the first command, nor the first
REPEAT:as a prepend will make the command in a repeating command block. This is included to allow for different-speed clocks, and similar functions.
BLOCK:as a prepend will use the following command (format
minecraft:BLOCKNAME:DATA) as a normal block instead of a command. This can be used to visually seperate parts of a module; remember that
REPEAT:must be used afterwards to carry the signal.
\ appended to the end of a line will append the next line to the current line.
There's also the
DEFINE: syntax, similar to the C
#define directive. This allows simpler-to-read blocks of code to be written.
The syntax is
DEFINE: identifier replacewith. You can then use this by calling out, anywhere in your code,
As with C,
DEFINE: can be used to make macros. For example,
DEFINE: example(argument) say |argument| and
$example("hello") will give you
UNDEFINE: which will remove that variable's definition.
IMPORT: will import the
.1cc file of the same name.
IMPORT: test will import the file named