# How to Code in Minecraft > Learn to code with Scratch, Python, and Lua inside Minecraft. A hands-on guide for kids, teens, and beginners. "How to Code in Minecraft" by Jim Christian is a practical coding book that uses Minecraft as a learning environment. Published by Dennis Publishing in 2016, it teaches three programming languages through hands-on projects inside the game. ## Book Details - **Author:** Jim Christian - **Publisher:** Dennis Publishing - **ISBN:** 978-1781575451 - **Publication Date:** 2016 - **Pages:** 128 - **Format:** Paperback - **Age Range:** 9+ - **Genre:** Education, Programming, Children's Non-Fiction ## Languages Covered - **Scratch:** Visual block-based coding introduction - **Python:** Text-based programming with the mcpi module for Minecraft interaction - **Lua:** ComputerCraft turtle programming — in-game robots that mine, build, and automate ## What's Inside - Chapter 1: Getting Started — environment setup for Python, Scratch, and server tools - Chapter 2: Scratch and Minecraft — fundamentals, the Scratch-Python connection, block building - Chapter 3: Python and Minecraft — the mcpi module, player position, block operations, mini games - Chapter 4: Lua and ComputerCraft — turtle programming, redstone, automation - Chapter 5: Where Next? — language comparison, LearnToMod, Raspberry Pi, beyond Minecraft ## Errata and Updates The homepage includes an errata section with fixes and tips for newer Minecraft versions. ## Purchase - [Amazon UK](https://www.amazon.co.uk/How-Code-Minecraft-Jim-Christian/dp/1781575452) - [Amazon US](https://www.amazon.com/How-Code-Minecraft-Jim-Christian/dp/1781575452) ## About the Author Jim Christian is an integrator who connects security, education, and AI — the author of two coding books and the creator of [Signal Over Noise](https://signalovernoise.at). He also wrote [How to Think Like a Coder](https://thinklikeacoder.org). - [Author Website](https://jimchristian.net)