Tags
Creators
Details
All versions
0.9.0
Release
Control Blocks 0.9.08 months ago 59
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Forge
Supported environments
Client and server
Changes
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
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:myATEmng:wpKel3Yf"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:myATEmng:wpKel3Yf"
}

