c0de

Create programs by placing blocks. c0de is a simple and extensible programming language inspired by BASIC and the early IDE from a Danisch plastic brick manufacturer.
Back to Files

c0de 0.7.0 for NeoForge 1.21.1

File namec0de-neoforge-0.7.0-1.21.1.jar
Uploader
joernottjoernott
Uploaded
Nov 21, 2026
Downloads
7
Size
7.9 MB
Mod Loaders
NeoForge
File ID
9737752
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:c0de-1800913:9737752"

Learn more about Curse Maven

What's new

Library types: other mods can give c0de types of their own, like the canvases of the coming mod c0de paint.

  • The TYPE block: a new type block, crafted from a type base and a decorated pot. A LABEL with the full name of a library type follows it, e.g. VARIABLE picture TYPE c0de_paint/cpaint/CANVAS; the LABEL dialog lists the types of the included libraries. TYPE also works in parameters, results, struct elements and as the content of arrays and hashes.
  • Library values: you can't look into them; only the functions of their library work with them. They are copied like all values, = and <> compare them, and ⊕ writes a short description. They have no literals and no constants, and TO_JSON and TO_YAML can't write them. A process keeps them over a restart of the server.
  • Results as items: a result of a library type comes out of the trigger block as an item that shows its description; it can't go into another process.
  • TYPE is reserved: a program that used the name TYPE (in capitals) for a variable, constant or function has to rename it.
  • For mod developers: Library.libraryTypes() with LibraryType and LibraryValue, and NativeCall.state() for functions that do their work in parts over several ticks; see the library development guide. Existing libraries, like c0de net, keep working unchanged.

This mod has no additional files