Fun with ScriptCraft & L-systems
- Create a new folder in CraftBukkit/js-plugins called lsystems.
- Download scriptcraft-lsystems and place all the JS files into the directory you just created.
- Start up your Bukkit server or if it is already running use the reload command to reload plugins and correspondingly your updated JS files.
- The L-systems JS files are uploaded when the plugin is uploaded so to start creating L-system structures simply type:
to create default structures.
The real fun begins when you start experimenting with different blocks, sizes, and generations. Both the tree and fun class accept three arguments:
will create a tree made of oak blocks that is 200 blocks in size using 15 generations.
will create a lava fractal 50 blocks in size using 4 generations. You can find a complete list of Minecraft block IDs at MinecraftInfo.
Be careful with the size and generations parameters--the bigger those values are the more computationally intensive the structures become to generate.
Have fun and send any cool L-system scripts my way!