Diese Seite auf Deutsch

Tutorials ​

The tutorials teach c0de by building things in the game. Every lesson is a complete program that you build, run and change, with exercises and their solutions. Pick the path that fits you:

PathFor you if …You learn
Learning to programyou have never programmed beforethe ideas of programming, one at a time, and how c0de expresses them – while you build the computer of your base
c0de for programmersyou already program in Python, JavaScript, Java, C or BASICthe model and the rules of c0de, compared with the languages you know, and the traps
Libraries in practiceyou know the languagethe library functions, with recipes that build something useful

The first two paths don't depend on each other. After either of them, go on with the libraries.

The world of the tutorials ​

The tutorials assume a single-player world in creative mode with cheats on. You have every block at hand, and you are an operator of your world.

  • Create it in Minecraft with "Create New World": game mode Creative, Allow Cheats: ON. The mods c0de (and c0de net for its recipes) must be installed.
  • Lessons that change the world with functions of c0de/minecraft only work for operators, or on a server that allows them in config/c0de.properties. They are marked with Needs an operator, and they show the alternative for everyone where there is one.
  • In survival mode, you craft the blocks first. The recipes are in the handbooks.

How to read the programs ​

The programs are written in the text notation of the guide (Reading the examples): one line of text per line of the sheet, four spaces per block further east, keywords in capitals, names in lower case, literals and operators in between. Every program in the tutorials is tested with the c0de version this site documents.