Update README.md

This commit is contained in:
Walter Higgins 2013-01-08 17:15:43 +00:00
parent a101dc0c23
commit da14ff12dd

View file

@ -90,7 +90,7 @@ Once you've installed the mod, launch Minecraft and type `/js load()` and load t
Take a look over the cottage.js file to see how the Drone module can be used to easily create buildings. You can even create a whole row of cottages using the following in-game command...
/js load("./cottage"); // path may vary on your machine
/js d = new Drone(); for (i=0; i < 20;i++){ cottage(d).right(10);}
/js var d = new Drone(); for (i=0; i < 20;i++){ d.cottage().right(10);}
The above code loads the example blueprint for a cottage and uses a `for` loop to create multiple cottages
from the blueprint. Keep a Minecraft Block reference handy - there's one here ...