You can issue simple commands (precedeed by /js) like
or create complex functions, saved in scriptcraft\plugins folder, that can be invoked in the same manner:
will create a 3x3x3 sandstone cube at the location of the cursor.
There are also functions for prisms, cylinders, spheres and others that you can combine to create your on functions for building complex structures.You are not forced to know the type IDs and data values for Minecraft blocks, as you can use the ScriptCraft predefined blocks object. In the previous example I used blocks.sandstone instead of searching for the numeric value(s) for the specific material.
Using ScriptCraft to teach kids programming
ScriptCraft is a powerful tool for Minecraft modding, but is also very useful to teach kids programming as they can see immediately the result of the issued commands. They can build big structures in seconds (sometimes the server will be overwhelmed by requests to create a box of hundreds blocks on each direction but that’s part of the fun) and they can also easily create simple mods to impress their friends so they surely are motivated to learn.
For latest version download and complete reference go to: