c0de 0.3.0This page in English

Diese Seite ist noch nicht übersetzt. Sie wird auf Englisch angezeigt.

c0de ​

c0de ist eine kleine Programmiersprache in Minecraft. Programme entstehen aus bunten Blöcken, die in Reihen gelegt werden, eine Reihe pro Zeile, und Auslöser-Blöcke starten sie. Die Anleitung erklärt die Sprache Schritt für Schritt; die Handbücher beschreiben jeden Block, jeden Gegenstand und jede Funktion.

Anleitung ​

  • Getting Started: c0de is a small programming language inside Minecraft. You write programs by placing blocks, and you run them with trigger blocks. This chapter shows you …
  • The Language: This chapter explains the c0de language in short. Every part is a block you place on a sheet. The examples use the text notation from the first chapter.
  • Running Programs: A program on a sheet does nothing by itself. Trigger blocks start it, feed it data and collect its results. A running program is called a process.
  • Tools and Items: c0de comes with a few tools for writing and testing programs, and with items that carry data. This chapter explains what each one does and how to craft it.
  • Libraries: c0de comes with ready-made functions. A few are built in and always there. The others are grouped in libraries, which you load with an INCLUDE line.
  • Examples: Here are a few complete programs to build and try. They come from the test suite of the mod, so they are known to work. Build them on an empty sheet, or …

Reference ​

The handbooks of c0de: one page per block, item and function, each with a description, its recipe and an example. The guide explains how to write and run programs. With the mod Patchouli, every handbook is also a red book in the game (crafted from a book and the item named below).

Data ​

Book: crafted from a book and type base.

Statements ​

Book: crafted from a book and structural base.

Tools ​

Book: crafted from a book and wrench.

Triggers ​

Book: crafted from a book and trigger block.

Devices ​

Book: crafted from a book and display block.

Functions ​

Book: crafted from a book and function block.