6MANIPULATING MINECRAFT

IN THIS CHAPTER, YOU’LL WRITE PYTHON PROGRAMS TO HACK INTO THE MINECRAFT ENVIRONMENT SO YOU CAN DO SOME COOL THINGS. YOU’LL SEND MESSAGES TO THE MINECRAFT WORLD AND TURN ITS GRASS INTO TRAMPOLINES. THEN YOU’LL WRITE YOUR FIRST MINECRAFT GAME, SAND DROP, WHERE PLAYERS DODGE FALLING BLOCKS OF SAND. USING YOUR GLUE GUN LED LIGHT THAT YOU BUILT IN CHAPTER 3, YOU’LL ADD REAL-WORLD HARDWARE THAT YOU’LL CONTROL FROM MINECRAFT. COMBINING THE POWER OF MINECRAFT WITH THE PI CAMERA, YOU’LL CREATE A HIDDEN CAMERA YOU CONTROL WITH TOWERS OF GOLD, BRICK, AND MELONS!

WHAT YOU’LL NEED

For most of the projects in this chapter, you’ll be coding in Python and Minecraft, so you don’t need many items beyond your Pi and a computer. Here are ...

Get Raspberry Pi Projects for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.