promotional bannermobile promotional banner

Control Blocks

Control Blocks are command blocks, but even better. Do more with less by coding with ControlScript, the mod exclusive Text-Based Coding Language

File Details

controlblocks-0.9.0.jar

  • R
  • Mar 5, 2026
  • 70.89 KB
  • 68
  • 1.20.1
  • Forge

File Name

controlblocks-0.9.0.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:control-blocks-1475506:7716556")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changelog

[0.9.0] - 2026-03-05

Language

  • Added while loops — repeat while a condition is true
  • Added for loops — count from a start to an end value with an optional step
  • Added function — define reusable blocks of code with parameters
  • Added return — exit a function and optionally return a value
  • Added loop safety limit of 10,000 iterations to prevent server freezes

get() Function

  • get(time) — current game time (0–24000)
  • get(weather) — returns clear, rain, or thunder
  • get(players) — number of players online
  • get(light) — block light level at the Control Block (0–15)
  • get(biome) — biome at the Control Block position
  • get(biome, x, y, z) — biome at specific coordinates
  • get(block, x, y, z) — block ID at specific coordinates
  • get(player.health, target) — player health (0–20)
  • get(player.food, target) — hunger level (0–20)
  • get(player.air, target) — air supply (0–300)
  • get(player.level, target) — XP level
  • get(player.x/y/z, target) — player coordinates
  • get(player.name, target) — player name
  • get(player.gamemode, target) — returns survival, creative, adventure, or spectator
  • Player targets: @p, @r, @s, or a player name/variable

Editor

  • Syntax highlighting for keywords, functions, strings, numbers, comments and operators
  • Click to place cursor
  • Text selection via mouse drag or Shift+Arrow keys
  • Ctrl+C / Ctrl+X / Ctrl+V — copy, cut, paste
  • Ctrl+A — select all
  • Delete key support
  • Mouse scroll
  • Block name now shown in the editor header