Update README.md
This commit is contained in:
parent
a101dc0c23
commit
da14ff12dd
1 changed files with 1 additions and 1 deletions
|
@ -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...
|
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 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
|
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 ...
|
from the blueprint. Keep a Minecraft Block reference handy - there's one here ...
|
||||||
|
|
Reference in a new issue