Home
Minecraft Basics For Dummies
Explore Book
Buy On Amazon

To mod Minecraft, you have to write code. Luckily, the LearnToMod Software walks you through that! One of the first things that you should learn is how to make drones in Minecraft and use them to build structures.

Drones are invisible robots that can move and place blocks of certain types, or even spawn entities (like Creepers)!

For example, this code:

  1. Creates a Drone and names it d.

  2. Tells d to place a Brick block in Minecraft.

    The code you use tells your drone what to do.
    The code you use tells your drone what to do.

Since Minecraft always starts with the function named ‘main,’ what you will see when you run this mod in Minecraft is this:

You can do cool stuff with your code.
You can do cool stuff with your code.

You can also move drones. For example, if you wanted to make a row of bricks, you could do this:

Make your drones do your bidding.
Make your drones do your bidding.

About This Article

This article is from the book: 

About the book author:

Sarah Guthals, PhD, co-founded an ed-tech company and now continues to build technology for kids to learn, create, and share safely online. She loves to teach teachers how to teach coding in the classroom.

Stephen Foster, PhD, is the CEO of ThoughtSTEM, a company that teaches computer science to kids across America.

Lindsey Handley, PhD, is the COO of ThoughtSTEM and has hundreds of hours of experience as a classroom instructor for Minecraft-based science and computer science classes.