Chapter 12. Building a Skyscraper
In this chapter, you’ll build a 10-story skyscraper using just a couple of lines of code and loop statements. You’ll use for and while loops and ScriptCraft’s Drone functions to build large structures in Minecraft.
Building Using Drones
In Minecraft, building by hand is fun but can be tedious when you want to build big structures such as towers, castles, and fortresses. ScriptCraft includes a module for building large structures in Minecraft using JavaScript. The Drone module has many functions for use in building. You can use the Drone module at the in-game prompt to build right within the game, or you can create a blueprint for a more complex structure by using the Drone functions in a JavaScript file. It’s ...
Get A Beginner’s Guide to Writing Minecraft Plugins in JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.