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.6.0 for NeoForge 26.2

File namec0de-neoforge-0.6.0-26.2.jar
Uploader
joernottjoernott
Uploaded
Nov 15, 2026
Downloads
2
Size
7.9 MB
Mod Loaders
NeoForge
File ID
9636160
Type
B
Beta
Supported game versions
  • 26.2

Curse Maven Snippet

NeoForge

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

Learn more about Curse Maven

What's new

Security: passwords and keys out of sight.

  • Hidden input: INPUT has the new parameter hide; laptops and tablets then show * for what is typed and *** for the typed line.
  • Hidden items: variable, constant and literal items can hide their value for good ("Hide the value" in their dialog). Only the trash can removes it. A parameter filled by a hidden item, and WRITE of a sensitive value, stay hidden.
  • Sensitive values: the tag security: "sensitive" on variables, constants and struct elements makes the debugging tool and the program runner show *** instead of the value.
  • The vault: every player has a vault of secrets while they are online. The new SECRET block reads a secret like a constant. A program can only use the vault of the player who started it, and only if that player owns its sheet.
  • c0de/security: a new library with SET_SECRET, DELETE_SECRET, HAS_SECRET, CREATE_VAULT, OPEN_VAULT, HAS_VAULT and IS_VAULT_OPEN.
  • Persistent vault: secrets can be kept in a KeePass file (KDBX 4) per player. The server stores it, but only the game of the player opens it, with a password that is typed in a dialog and never leaves the game. The files open in KeePass and KeePassXC.
  • Error codes: VAULT_UNAVAILABLE (314) to VAULT_FAILED (321).
  • Program runner: the options file can give the program a vault (see docs/runner.md).
  • Block data: GET_BLOCK returns the data of a block (the items of a chest, the text of a sign) as SNBT in its new result data, and PLACE_BLOCK takes it in its new parameter data.
  • MOVE_ITEMS works for every owner who could open both inventories. count is optional (default 1, -1 for all), and instead of id it takes a filter (item IDs or a search like in JEI). It takes time: one stack per tick for each 128 blocks. The settings enableMoveItems, moveItemsStacksPerTick and moveItemsBlocksPerTick configure it.
  • COMMAND: a new function of c0de/minecraft runs a command like a command block, for administrators (setting enableCommand).
  • Regular expressions: REGEX_MATCH and REGEX_REPLACE in c0de/strings, with replacements and flags like sed.
  • Beta: from this version on, c0de is published as a beta instead of an alpha.
  • Handbooks without Patchouli: the guide and the six handbooks are part of c0de and work on every Minecraft version and both loaders. Each one is a red binder with a label of its own colour, crafted from a book and the same item as before, in English and German. The book screen and its Markdown are based on Lavender and lavender-md (MIT, see NOTICE.md). Every player gets the guide binder once, also players who got the Patchouli guide before. c0de no longer uses Patchouli.
  • Fixed: the trash can icon of the item dialogs was drawn in the wrong place on Minecraft 1.21.11 and later.
  • Tag dialog: the language button shows only the language (security instead of Language: security).
  • Fixed: c0de for Fabric 1.21.1 reported the version 0.1.0 in C0DE_VERSION and in the log.

This mod has no additional files