Skip to content

c0de 0.3.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Oct 20:38
· 86 commits to main since this release

Feedback from playing 0.2.0, for all Minecraft versions of 0.2.0.

  • Timer blocks: a redstone signal pauses them, also when they are placed next to a signal that is already on; their dialog shows "Paused by redstone". Pause a fast timer before you change its program.
  • Disk drive: a larger dialog that shows its messages completely, and the sound of a floppy drive when it reads or writes a disk.
  • SHEET and PID: two new built-in constants tell a program about its sheet (number, owner, position) and its process (PID, function, owner, the player who started it, the trigger block, start time).
  • CURSOR: a built-in constant that tells a program where its cursor is (line, function, depth) and how much of its stack it uses.
  • Debugging tool: the cursor dialog shows how many slots of the stack are used.
  • Colors: the constants COLOR_BLACK to COLOR_WHITE name the 16 colors of COLOR.
  • MINE_BLOCK: a new function of c0de/minecraft breaks a block with the most suitable tool from an inventory, as fast as a player and with the same wear, and puts the drops into another inventory. Every owner may use it.
  • PLACE_BLOCK: the new parameter inventory takes the block from an inventory; with it, every owner may place blocks.
  • Error codes: INVENTORY_FULL (312) and ITEM_MISSING (313).
  • Boots: left-click a FUNCTION block with any boots to jump to the other end of its function; right-click it to jump to the PROGRAM line.
  • Pliers: a new tool, crafted from shears and a stick, moves a line or a marked area one block to the left (left click) or to the right (right click).
  • Note: the names SHEET, PID, CURSOR, SHEET_INFO, PID_INFO, CURSOR_INFO and COLOR_BLACK to COLOR_WHITE are now reserved; a program that declares one of them must rename it.