O'Reilly logo

A Beginner’s Guide to Writing Minecraft Plugins in JavaScript by Walter Higgins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required