3BUILDING QUICKLY AND TRAVELING FAR WITH MATH

image

In Chapter 2, you learned how to create a variable and change its value. In this chapter, you’ll learn how to use math in Python to generate any block you want and quickly build complex structures in your Minecraft world. You’ll even give yourself superpowers to make the player super jump!

Expressions and Statements

When you’re having a conversation with someone, you want them to understand what you’re telling them. You use short phrases, such as “three diamonds” or “behind a tree,” to give information to the person you’re talking to. However, the phrases don’t make sense on their own unless they’re ...

Get Learn to Program with Minecraft 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.