Create your Cozy Home Retreat
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy new:
$29.95
FREE delivery Monday, January 19 on orders shipped by Amazon over $35
Ships from: Amazon.com
Sold by: Amazon.com
$29.95
Get Fast, Free Shipping with Amazon Prime
FREE delivery Monday, January 19 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Tomorrow, January 15. Order within 33 mins.
In Stock
$$29.95 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$29.95
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Amazon.com
Amazon.com
Shipper / Seller
Amazon.com
Returns
FREE 30-day refund/replacement
FREE 30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$12.77
Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! See less
$4.99 delivery Tuesday, January 27. Details
Or fastest delivery January 22 - 26. Details
Only 1 left in stock - order soon.
$$29.95 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$29.95
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by HPB-Diamond.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle App

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Coding with Minecraft: Build Taller, Farm Faster, Mine Deeper, and Automate the Boring Stuff Paperback – Illustrated, May 29, 2018

4.2 out of 5 stars (130)

{"desktop_buybox_group_1":[{"displayPrice":"$29.95","priceAmount":29.95,"currencySymbol":"$","integerValue":"29","decimalSeparator":".","fractionalValue":"95","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"8fF9jSH4cVjIkPb2DckWXpNcJDGRzpwzV7npJ0TrZ8DyWnu9nf%2BP22rXYHOi1Jh8z19Ctd4t2asNG%2FSYFcxGcYvCPsaeJhqFngWsTs7NIFDQ43PT5ax62N%2FjrV%2FQMdcryfgpzUwp38%2Fm2cDNl0OlBg%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$12.77","priceAmount":12.77,"currencySymbol":"$","integerValue":"12","decimalSeparator":".","fractionalValue":"77","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"8fF9jSH4cVjIkPb2DckWXpNcJDGRzpwzP8QicBncNPMT96cSB1wWWBZ1jGqnybvALW4RKdY63E1A72F0gEP8TxYoz7VFxDSdRKBqBFf6sQjjJpMVpt2Bmeec%2B3LpKCPTt3JgG40gexbe5tHVmpc2w05%2FhBar8K54OG9omPI0gz0%2FLbaLQ10Hqg%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

A hands-on introduction to coding that teaches you how to program bots to do cool things in the game you love--Minecraft! This book takes the robotic "turtle" method, and extends it to the 3D, interactive world of Minecraft.

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.

Frequently bought together

This item: Coding with Minecraft: Build Taller, Farm Faster, Mine Deeper, and Automate the Boring Stuff
$20.15
Usually ships within 7 to 8 days
Ships from and sold by Windy Books.
+
$12.99
Get it as soon as Monday, Jan 19
In Stock
Ships from and sold by Amazon.com.
+
$10.17
Get it as soon as Monday, Jan 19
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

From the Publisher

dance steps for your box bot

Write a dance program

Write a program with Lua to teach your robot to dance.

Completed cobblestone block generator

Create a cobblestone block generator

Use your bot to mine infinite cobblestones without using fuel or pickaxes.

inventory filled with stone bricks

Teach your bots to make stone bricks

Learn to create a factory that will produce crafted stone bricks.

robot digging pattern

Program your robot to mine

Use an algorithm to program your robot to mine.

Editorial Reviews

Review

“While Coding with Minecraft is an educational book, it is also a delightful read...a must for anyone who has any interest in Minecraft.”
—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

Al Sweigart is a professional software developer who teaches programming to kids and adults. Sweigart has written several bestselling programming books for beginners, including Automate the Boring Stuff with Python, Invent Your Own Computer Games with Python, and Cracking Codes with Python (all from No Starch Press).

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)
  • Customer Reviews:
    4.2 out of 5 stars (130)

About the author

Follow authors to get new release updates, plus improved recommendations.
Al Sweigart
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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.

Customer reviews

4.2 out of 5 stars
130 global ratings

Top reviews from the United States

  • Reviewed in the United States on March 22, 2021
    Format: PaperbackVerified Purchase
    There 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!
    16 people found this helpful
    Report
  • Reviewed in the United States on January 29, 2021
    Format: PaperbackVerified Purchase
    I 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.
    4 people found this helpful
    Report
  • Reviewed in the United States on January 7, 2019
    Format: PaperbackVerified Purchase
    This 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.
    22 people found this helpful
    Report
  • Reviewed in the United States on December 25, 2018
    Format: PaperbackVerified Purchase
    This was recommended by my son's Minecraft weekend camp instructor - and he's been learning a lot from the book.
    5 people found this helpful
    Report
  • Reviewed in the United States on April 29, 2024
    Format: PaperbackVerified Purchase
    We 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.
    2 people found this helpful
    Report
  • Reviewed in the United States on April 29, 2025
    Format: Paperback
    great
  • Reviewed in the United States on February 1, 2020
    Format: Paperback
    As 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.
    11 people found this helpful
    Report
  • Reviewed in the United States on April 5, 2021
    Format: Paperback
    In 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.
    One person found this helpful
    Report

Top reviews from other countries

  • JKC
    5.0 out of 5 stars Good quality product
    Reviewed in the United Kingdom on April 24, 2025
    Format: PaperbackVerified Purchase
    Good value, informative book
  • Amazon Customer
    5.0 out of 5 stars all it had to say was Minecraft ...
    Reviewed in Australia on December 29, 2024
    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.