Customers who viewed this item also viewed
Buy new:
$29.95$29.95
FREE delivery Monday, January 19 on orders shipped by Amazon over $35
Advertisement
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Very Good
$12.77$12.77
$4.99 delivery Tuesday, January 27
Advertisement
Ships from: HPB-Diamond Sold by: HPB-Diamond
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Coding with Minecraft: Build Taller, Farm Faster, Mine Deeper, and Automate the Boring Stuff Paperback – Illustrated, May 29, 2018
Purchase options and add-ons
You've mined for diamonds, crafted dozens of tools, and built all sorts of structures--but what if you could program robots to do all of that for you in a fraction of the time?
In Coding with Minecraft®, you'll create a virtual robot army with Lua, a programming language used by professional game developers. Step-by-step coding projects will show you how to write programs that automatically dig mines, collect materials, craft items, and build anything that you can imagine. Along the way, you'll explore key computer science concepts like data types, functions, variables, and more.
Learn how to:
- Program robots that make smart decisions with flow control
- Reuse code so that your robots can farm any crop you want, including wheat, sugar cane, and even cacti!
- Program a factory that generates infinite building supplies
- Design an algorithm for creating walls and buildings of any size
- Code yourself a pickaxe-swinging robotic lumberjack!
- Create a robot that digs mine shafts with stairs so you can explore safely
Bonus activities in each chapter will help you take your coding skills to the next level. By the end of the book, you'll understand how powerful coding can be and have plenty of robots at your beck and call.
- Reading age10 - 12 years
- Print length256 pages
- LanguageEnglish
- Grade levelKindergarten - 6
- Dimensions7 x 0.76 x 9.25 inches
- PublisherNo Starch Press
- Publication dateMay 29, 2018
- ISBN-101593278535
- ISBN-13978-1593278533
Frequently bought together

Deals on related products
Customers also bought or read
- Coding for Minecrafters: Unofficial Adventures for Kids Learning Computer Code
Paperback$12.99$12.99Delivery Mon, Jan 19 - Coding for Kids: Python: Learn to Code with 50 Awesome Games and Activities
Paperback$10.61$10.61Delivery Mon, Jan 19 - Python for Kids, 2nd Edition: A Playful Introduction to Programming
Paperback$18.27$18.27Delivery Mon, Jan 19 - Coding Roblox Games Made Easy: Create, Publish, and Monetize your Games on Roblox, 2nd Edition
Paperback$23.99$23.99Delivery Mon, Jan 19 - Electronics for Kids: Play with Simple Circuits and Experiment with Electricity!
Paperback$18.08$18.08$3.99 delivery Feb 12 - 18 - Raspberry Pi Projects for Kids: Create an MP3 Player, Mod Minecraft, Hack Radio Waves, and More!
Paperback$21.06$21.06Delivery Mon, Jan 19 - The Big Book of Small Python Projects: 81 Easy Practice Programs
Paperback$35.99$35.99FREE delivery Mon, Jan 19 - Coding Projects in Scratch: A Step-by-Step Visual Guide to Coding Your Own Animations, Games, Simulations, a (DK Help Your Kids)
Paperback$11.69$11.69Delivery Mon, Jan 19 - Roblox Game Development in 24 Hours: The Official Roblox Guide
Paperback$31.88$31.88Delivery Mon, Jan 19 - Get Coding!: Learn HTML, CSS & JavaScript & Build a Website, App & Game
Paperback$13.43$13.43Delivery Mon, Jan 19 - Scratch 3 Programming Playground: Learn to Program by Making Cool Games
Paperback$22.99$22.99Delivery Mon, Jan 19 - Computer Science for Curious Kids: An Illustrated Introduction to Software Programming, Artificial Intelligence, Cyber-Security―and More!
Hardcover$14.99$14.99Delivery Mon, Jan 19 - Minecraft: Super Bite-Size Builds (Over 20 Epic Mini-Projects)
Hardcover$7.43$7.43Delivery Mon, Jan 19 - The Secret Treasure: An Unofficial League of Griefers Adventure, #1 (1) (League of Griefers Series)
Paperback$7.99$7.99Delivery Mon, Jan 19
From the Publisher
Write a dance program
Write a program with Lua to teach your robot to dance.
Create a cobblestone block generator
Use your bot to mine infinite cobblestones without using fuel or pickaxes.
Teach your bots to make stone bricks
Learn to create a factory that will produce crafted stone bricks.
Program your robot to mine
Use an algorithm to program your robot to mine.
Editorial Reviews
Review
—Gaming INTEL
"If you have children interested in coding who also love Minecraft, I believe this would be a great book to invest in."
—The Old Schoolhouse
About the Author
Product details
- Publisher : No Starch Press
- Publication date : May 29, 2018
- Edition : Illustrated
- Language : English
- Print length : 256 pages
- ISBN-10 : 1593278535
- ISBN-13 : 978-1593278533
- Item Weight : 1.29 pounds
- Reading age : 10 - 12 years
- Dimensions : 7 x 0.76 x 9.25 inches
- Grade level : Kindergarten - 6
- Best Sellers Rank: #694,954 in Books (See Top 100 in Books)
- #134 in Children's Programming Books
- #190 in Minecraft Guides
- #295 in Game Programming
- Customer Reviews:
About the author

Al Sweigart is a software developer and tech book author living in Houston. He has written several programming books for beginners, including Automate the Boring Stuff with Python. His books are freely available under a Creative Commons license at his website https://inventwithpython.com.
Related products with free delivery on eligible orders
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on March 22, 2021Format: PaperbackVerified PurchaseThere are a lot of reviews that say that the instructions are outdated. In the first chapter the author acknowledges that this will most likely be the case. He provides, right there in black and white on page 3, a URL to the book's web page where I found links to updated instructions for recent versions of Minecraft and Forge. I feel the instructions are safe enough to set it up on vanilla Windows 10; I didn't have to set up a VirtualBox sandbox for my son. I was very relieved that we didn't have to install Curseforge and thus Overwolf, which seems very sketchy -- it is intrusive to the system, exists mostly as an ad platform, and will only install if I run it as administrator!
- Reviewed in the United States on January 29, 2021Format: PaperbackVerified PurchaseI got this for my 8 year old daughter and while we have only just begun working through it, the book is simple to understand and is a great way to begin learning to code.
- Reviewed in the United States on January 7, 2019Format: PaperbackVerified PurchaseThis is a cool book, but you need the computer version of Minecraft! My kids play on the iPad and I got it for them not knowing. We are holding onto it for when we get the computer version.
- Reviewed in the United States on December 25, 2018Format: PaperbackVerified PurchaseThis was recommended by my son's Minecraft weekend camp instructor - and he's been learning a lot from the book.
- Reviewed in the United States on April 29, 2024Format: PaperbackVerified PurchaseWe tried for 4 hours to ge the basic programs downloaded with no success. One of the issues is that the information is not current. We then went to the publisher's page and there was a link to a video that is supposed to be more up to date. It helped a little, but even the new info seems to be old, now. There is also a link on the publishers page that is supposed to go to current info, but that link is broken.
If the author or publisher is reading this review, please help by giving us direction on what to do.
- Reviewed in the United States on April 29, 2025Format: Paperbackgreat
- Reviewed in the United States on February 1, 2020Format: PaperbackAs an adult programmer who loves to tool around, I loved this book. ComputerCraft is a geeky "mod" for Minecraft, Java Edition, that simulates 8-bit computers and awesome "turtle" robots. The book helped me to learn the lovely Lua language, which is used to program these virtual computers & turtles, and it helped me appreciate older computer systems, a.k.a., "retrocomputing." Lua is also commonly used in modern game programming and embedded systems, so the knowledge I gained here will be useful beyond Minecraft. The author of this book is a great educator, and his code is solid.
That said, the mod has been evolving, and some things covered in this book are deprecated, such as how modules/APIs are used. I really hope the publisher creates second edition of this book. It would be appreciated by those of us who are playing around with the newer editions of the mod. For an example of a newer edition, check out the popular fork (spin-off) of ComputerCraft called "CC-Tweaked." It is available for free on github.com.
- Reviewed in the United States on April 5, 2021Format: PaperbackIn return for an honest review, Al was gracious enough to send me a PDF copy of this book. I promise to be upfront with what I liked while not sugarcoating things that I didn't.
To start off, what I liked. This book is fantastic for people who have never touched Lua in their lives such as myself. Whenever a new script or topic is introduced, instead of simply giving you a script to copy word for word, Al breaks down most of the different elements within the code. Whether it be 20 lines of code or 250, it's broken down into bite-sized pieces to easily understand what everything does. I also like how the topics vary but still tie into one another. You may learn how to make the turtles detect blocks around them and act appropriately early on, and later on that same concept will be used in a much more complicated code. This truly is a great gift or tool for anyone wanting to get into programming.
Now, as for what I consider downsides. The first and most obvious should be that while some of the Lua concepts can be transferred over into real-life applications, the majority of what is used in this book focuses on the Minecraft Java Edition mod called ComputerCraft. So anything like turtle.detect() or turtle.forward() will only apply to this mod and nowhere else. This isn't anything bad with the book itself, but it is something you should consider when purchasing this. If you don't have access to Minecraft Java Edition or mods, it may not be as useful to you as it was for me. And even though much of the code is explained, not everything is. This led me to do research on my own for what certain things are, such as cliArgs.
All in all, this was a great book, and I'm sure I'll keep returning to it to refresh myself whenever I forget something. If you have Minecraft Java Edition and have access to ComputerCraft, and want to begin learning Lua, then this is definitely a book worth buying.
Top reviews from other countries
JKCReviewed in the United Kingdom on April 24, 20255.0 out of 5 stars Good quality product
Format: PaperbackVerified PurchaseGood value, informative book
Amazon CustomerReviewed in Australia on December 29, 20245.0 out of 5 stars all it had to say was Minecraft ...
Format: PaperbackVerified Purchase.... and it contained 400 blank pages, he would have been happy. This was a Christmas present for my 7 yo grandson who is deeply invested with the whole Minecraft genre. Too early to tell if this text is beneficial or his capabilities are aligned to the level of technical detail. Time will tell. But the look on his face as he unwrapped it went a long way to assuring his granddad the ne had made a wise choice.























