Benchmarked 90,000 commands in 15 minutes in one file (parthenon) called from a command_block. July 31st. Used an image to command utility I wrote. Used a critics icon to create a glass window in setblock commands. (Also try the blockdumpmod at the same location.)
More fixes July 24th.
Massive Fix. executefile must be lowercase for the tab completion to work.
This is my first mod for minecraft. It's written for 1.8 and 1.9.4 forge and called Caleb's CommandRunnermod. It uses the new APIs. It runs files with a set of minecraft or mod execute commands for simple world generation support as a command "executefile. Any command that can be put in a server command and is run with execute. In the files the command executefile can call executefile files. With new 1.8 commands that allow placement of items in chests, and blockdata, etc, the execute commands become useful as a script. I am new to forge.
YOU HAVE TO WRITE /execute commands. Each line has an execute command (the mod will add the execute if needed).
Try the City2.caleb.
A forge config file allows you to set the files directory (it's in .minecraft/config/CommandRunnermod.config). You must type the whole "executefile" for the autocomplete. The list of files in the directory, will be autocompleted. You can rotate the orientation of the commands using the {rotateeast,rotatewest,rotatesouth,rotatenorth,rotateplayerfacing} and cascade rotation into other files. This includes datavalues (so a south facing stair will be north if the rotatenorth is use. I do not rorate nbttags.
Syntax is executefile File filename. A later version is planned to run from a URL. Files in the config defined directory can be named ".caleb" to show up in an autocomplete list. I don't like adfly ads. Free is free.
# Hi, this is a building with 2 floors an opening and a chest. Calebmake5.caleb
# it's used in city1.caleb
# always use /execute format for each line
# comments are # then space
# clear space around me
# Note you can call command block and command blocks can call executefile
# the /execute is optional on each line
@p ~ ~ ~ fill ~5 ~-1 ~5 ~-5 ~10 ~-5 minecraft:air
# build floor
@p ~ ~ ~ fill ~5 ~-1 ~5 ~-5 ~-1 ~-5 minecraft:cobblestone
# walls
@p ~ ~ ~ fill ~5 ~-1 ~-5 ~-5 ~10 ~-5 minecraft:cobblestone
@p ~ ~ ~ fill ~-5 ~-1 ~5 ~-5 ~10 ~-5 minecraft:cobblestone
@p ~ ~ ~ fill ~5 ~-1 ~5 ~5 ~10 ~-5 minecraft:cobblestone
@p ~ ~ ~ fill ~5 ~-1 ~5 ~-5 ~10 ~5 minecraft:cobblestone
# roof
@p ~ ~ ~ fill ~5 ~10 ~5 ~-5 ~10 ~-5 minecraft:cobblestone
# second floor
@p ~ ~ ~ fill ~5 ~5 ~5 ~-5 ~5 ~-5 minecraft:cobblestone
# first floor light
@p ~ ~ ~ fill ~0 ~4 ~0 ~1 ~4 ~1 minecraft:glowstone
@p ~ ~ ~ fill ~0 ~8 ~0 ~1 ~8 ~1 minecraft:glowstone
#opening for door
#opening for door
@p ~ ~ ~ fill ~0 ~1 ~5 ~0 ~2 ~5 minecraft:air
@p ~ ~ ~ fill ~3 ~0 ~3 ~3 ~0 ~3 minecraft:chest
Here is the city1.caleb file.
# comments are pound then space
# clear space around me - We are going z direction
# build a city
@p ~ ~ ~ fill ~10 ~-1 ~-10 ~-10 ~10 ~50 minecraft:air
@p ~ ~ ~ fill ~10 ~-1 ~50 ~-10 ~10 ~120 minecraft:air
# fill site with a road of dark prismarine
@p ~ ~ ~ fill ~10 ~-10 ~5 ~-10 ~0 ~120 minecraft:prismarine 1
@p ~ ~ ~ tp @p ~0 ~0 ~20
# build house 20 in z
@p ~ ~ ~ executefile File Calebmake5.caleb
@p ~ ~ ~ tp @p ~0 ~0 ~20
# build house 20 up
@p ~ ~ ~ executefile File Calebmake5.caleb
@p ~ ~ ~ tp @p ~0 ~0 ~20
# build house
@p ~ ~ ~ executefile File Calebmake5.caleb
@p ~ ~ ~ tp @p ~0 ~0 ~20
# build house
@p ~ ~ ~ executefile File Calebmake5.caleb
@p ~ ~ ~ tp @p ~0 ~0 ~20
# build floor
@p ~ ~ ~ executefile File Calebmake5.caleb
How it works
Commandrunnermod supports recursion and can cascade rotations recursively, and supports repetition.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Minor changes coming 1.8.B ... Still no URL. Added the limited ability to read the whole file (commandblock style concatenate) and on rotatePlayerFacing or rotate to a direction "rotatewest" option. Cascading not yet supported nor block rotation.
Rotate Z changes the rotation of the south (z direction) around the supplied in the file to the player facing direction or given. I think this type of function is missing from the basic game - executefile with rotation/ transform of the whole file (cascading into each executefiles that is called. only the byline option is supported.
Now updated to 1.2 to support this try http://www.commandrunnermod.com/arrow.caleb
e.g.
/executefile file arrow.caleb byline rotatewest
/executefile file arrow.caleb byline rotateplayerfacing
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Ok, it now supports vanilla block rotation as well inside the mod. Still very beta, but very useful. The stairs rotate with the blocks. Your command files are able to rotate, some commands need fixing, for the forge mod. I think Redstoners can now use it for some automation of builds.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Huge number of fixes as of July 10th. 1.8 will not likely be fixed. Added the repeatn feature (repeats the file) and fixed cascade.
Use 1.9.4 for 1.9.4 and 1.10.
Using repeating command blocks for looping, or repeat sections, testfor, etc. or use the new repeatn feature. A
forge config file allows you to set the caleb files directory.
Syntax is /executefile File|Samples filename.caleb byline|concatencate rotateplayerfacing|rotatesouth|rotatenorth|rotateeast|rotatewest cascade|repeatn [1-9999] cascade.
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
This is the CommandRunnerMod. V1.9.4 Also supports 1.9 to 1.10.2. it's at http://minecraft.curseforge.com/projects/commandrunnermod It reads minecraft execute commands in a file and executes them. The city was generated.
Benchmarked 90,000 commands in 15 minutes in one file (parthenon) called from a command_block. July 31st. Used an image to command utility I wrote. Used a critics icon to create a glass window in setblock commands. (Also try the blockdumpmod at the same location.)
More fixes July 24th.
Massive Fix. executefile must be lowercase for the tab completion to work.
This is my first mod for minecraft. It's written for 1.8 and 1.9.4 forge and called Caleb's CommandRunnermod. It uses the new APIs. It runs files with a set of minecraft or mod execute commands for simple world generation support as a command "executefile. Any command that can be put in a server command and is run with execute. In the files the command executefile can call executefile files. With new 1.8 commands that allow placement of items in chests, and blockdata, etc, the execute commands become useful as a script. I am new to forge.
The 1.8 mod is here. http://www.commandrunnermod.com/CommandRunnermod-1.2.jar http://www.commandrunnermod.com/CommandRunnermod-1.2.jar
(Hint use 1.8 command blocks for looping, or repeat sections, testfor, etc. )
1.9 to 1.9.4 is for the latest forge version (June 2016) are here http://www.commandrunnermod.com/CommandRunnerMod-1.9.4.jar
YOU HAVE TO WRITE /execute commands. Each line has an execute command (the mod will add the execute if needed).
Try the City2.caleb.
A forge config file allows you to set the files directory (it's in .minecraft/config/CommandRunnermod.config). You must type the whole "executefile" for the autocomplete. The list of files in the directory, will be autocompleted. You can rotate the orientation of the commands using the {rotateeast,rotatewest,rotatesouth,rotatenorth,rotateplayerfacing} and cascade rotation into other files. This includes datavalues (so a south facing stair will be north if the rotatenorth is use. I do not rorate nbttags.
Syntax is executefile File filename. A later version is planned to run from a URL. Files in the config defined directory can be named ".caleb" to show up in an autocomplete list. I don't like adfly ads. Free is free.
Here is the city1.caleb file.
How it works
Commandrunnermod supports recursion and can cascade rotations recursively, and supports repetition.
Thanks
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Minor changes coming 1.8.B ... Still no URL. Added the limited ability to read the whole file (commandblock style concatenate) and on rotatePlayerFacing or rotate to a direction "rotatewest" option. Cascading not yet supported nor block rotation.
Rotate Z changes the rotation of the south (z direction) around the supplied in the file to the player facing direction or given. I think this type of function is missing from the basic game - executefile with rotation/ transform of the whole file (cascading into each executefiles that is called. only the byline option is supported.
http://www.commandrunnermod.com/CommandRunnermod-1.2.jar
Now updated to 1.2 to support this try http://www.commandrunnermod.com/arrow.caleb
e.g.
/executefile file arrow.caleb byline rotatewest
/executefile file arrow.caleb byline rotateplayerfacing
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
See the 1.2 version www.commandrunnermod.com ... sorry no ads, no adf.ly no download buttons.
Try City2.caleb and building.caleb.
The componentization works .
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
New version for latest 1.9.4 minecraft forge (v1936). New vanilla blocks supported. My very bad source is also there. Thanks to SK89r and many others.
For Caleb, my grandson.
www.commandrunnermod.com.
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
In use
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Bugs .... McMod Information is not found for some reason.
----------------------------------------------------------------------------------------------
This mod only runs the execute command. To use fill you have to write /execute ~ ~ ~ fill .... on each line.
Not sure if concatenate is working (useful for large commandblock code).
Thanks
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Version 1.9.4 supports 1.9 to 1.10. New features soon.
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
The tab autocompletion has been fixed in the new release. Commands must be lower case so it's executefile. Sorry.
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
new sample file including redstone machine.
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Here is a java generator for a trefoil knot. I will add circle and stair case, later. Compile and run with arguments of trefoil large. The .caleb will create a trefoil in air. copy that file to the game directory root or whereever the CommandRunnerMod.config is set to. Inspired by http://www.minecraftforum.net/forums/minecraft-discussion/creative-mode/2559833-math-based-structures-in-minecraft
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
As commands (trimmed)
Trefoil4.caleb
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.
Huge number of fixes as of July 10th. 1.8 will not likely be fixed. Added the repeatn feature (repeats the file) and fixed cascade.
forge config file allows you to set the caleb files directory.
Writes the CommandRunnerMod which gives the executefile command to read commands from a file. http://mods.curse.com/mc-mods/minecraft/246088-commandrunnermod
Largest file loaded is 90K commands from a command_block.
Lasted Updated Aug 7 2016 ... 1.9 to 1.10.2 Also the BlockDumpMod gives blockdump command which writes blocks to a text file as execute setblock commands or gives a report.