
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
Оцените первым
302
2
Список изменений
Changelog
[0.9.0] - 2026-03-05
Language
- Added
whileloops — repeat while a condition is true - Added
forloops — 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)— returnsclear,rain, orthunderget(players)— number of players onlineget(light)— block light level at the Control Block (0–15)get(biome)— biome at the Control Block positionget(biome, x, y, z)— biome at specific coordinatesget(block, x, y, z)— block ID at specific coordinatesget(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 levelget(player.x/y/z, target)— player coordinatesget(player.name, target)— player nameget(player.gamemode, target)— returnssurvival,creative,adventure, orspectator- 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
Файлы
controlblocks-0.9.0.jar(70.89 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
0.9.0
Загрузчики
Forge
Версии игры
1.20.1
Загрузок
56
Дата публикации
08.03.2026
