11SAVING AND LOADING BUILDINGS WITH FILES AND MODULES

image

Files are a major part of computing. They let you save data for long-term storage and load data for use in your programs. So far, the programs you’ve been working with have stored data only in variables. You’ve either used hard-coded data in your programs or taken data from user input. Although you can do amazing things with this data, you’re limited to single sessions and your own Minecraft world. Once you learn how to store and retrieve data, you can save and load your Minecraft creations into any Minecraft world, even your friends’ games!

In this chapter, you’ll learn how to get input from ...

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.