Back to mods
c0de project artwork

CurseForge · Minecraft mod

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.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which c0de release matches Fabric?

Updated today
beta file c0de 0.6.0 for Fabric 26.3
Game version 26.3
Loader Fabric

c0de 0.6.0 for Fabric 26.3 targets 26.3 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is c0de required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does c0de 0.6.0 for Fabric 26.3 need?

c0de 0.6.0 for Fabric 26.3 on Fabric. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by c0de 0.6.0 for Fabric 26.3
required
Matching file found Matched file: [26.3] Fabric API 0.166.2+26.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add c0de without breaking your instance.

Built for c0de 0.6.0 for Fabric 26.3 on Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use c0de 0.6.0 for Fabric 26.3. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside c0de 0.6.0 for Fabric 26.3. It opens that exact file at the source.

About this project

What does c0de add?

c0de

Build programs out of blocks. c0de is a small programming language for Minecraft: you place language blocks on sheets of greenbar paper in their own dimension and run your programs with trigger blocks anywhere in your world.

c0de is inspired by BASIC and the early Lego Mindstorms. You don't need to know how to program. Every statement is a block, every block is crafted from vanilla materials, and the floor tells you right away whether a line is correct.

This is an early version. Expect rough edges, and please report bugs and ideas on GitHub.

Features

  • The c0de dimension: endless sheets of green-and-white computer paper. One sheet, one program. No mobs, no weather, no night.
  • A real language: variables and constants, integers, floats, text, time, arrays, hashes, structs, expressions with many operators, functions with parameters and results, recursion, IF/ELSE, FOR, EACH, WHILE, REPEAT and error handling.
  • Live checking: line numbers on the floor turn green, yellow or red while you build, and the debugging tool tells you what is wrong.
  • Trigger blocks: start programs with a redstone pulse, a timer, or step by step with a debug trigger. A comparator reads the exit code.
  • Data as items: pass values in and out as variable and constant items. Hoppers and pipes can fill and empty trigger blocks, so programs can be chained.
  • Input and output: PRINT text on display walls, laptops and tablets, let players type values for INPUT, and WRITE results into I/O blocks. Screen functions like CLS, LOCATE, COLOR and INKEY come from AmigaBASIC.
  • Libraries: math, strings (including FORMAT, JSON and YAML), date and time, and a Minecraft library for sounds, chat messages, levers, buttons, doors, inventories, blocks and entities.
  • Permissions: world-changing functions are off by default and can be enabled per server. Programs act on behalf of the trigger block's owner.
  • Editing tools: a text marker to select lines, a wrench to move and copy them, a hammer to delete or insert lines.
  • c0de disk and disk drive: copy programs onto disks, build them on empty sheets, and keep them as YAML files in the c0de folder of your own Minecraft to share them.
  • Debugging: a red debug cursor you can pause and step line by line, and you can inspect every block and every cursor.

Getting started

  1. Craft a trigger block (copper ingots, glass, a gold ingot) and a wrench (iron ingots and red wool), and place the trigger block.
  2. Right-click the trigger block with the wrench. You are teleported to a free sheet in the c0de dimension.
  3. Craft NOOP blocks (iron ingots and sticks) and turn them into language blocks. Build a small program, for example a function that assigns 42 to its result.
  4. Leave the dimension by right-clicking the black floor with an empty hand. Right-click the trigger block, pick your program and function, and put an uninitialized variable item (a data item and light blue dye) into its input.
  5. Give the trigger block a redstone pulse. The result appears as a variable item in its output inventory.

Documentation

The player guide explains everything step by step, with example programs:

Requirements

  • Minecraft 1.21.1
  • Fabric with Fabric API, or NeoForge
  • Optional: Patchouli adds an in-game guide book with the player guide. Every player gets it on the first join; more copies are crafted from a book and a PROGRAM block. Six handbooks (Data, Statements, Tools, Triggers, Devices and Functions) describe every block, item and function on a page of its own. On a NeoForge server, install Patchouli on the server too, otherwise clients with Patchouli can't join.

Project description from CurseForge.

Pick your setup

c0de by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

10 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

c0de versions and loaders

15 of 30 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.