Tags
Creators
Details
Licensed MIT
Created 4 years ago
Updated last week
All versions
v2.1.0-beta.2+1.20.1
Beta
[Fabric 1.20.1] v2.1.0-beta.29 months ago 3,215
Uploaded by
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Fabric
Supported environments
Client and server
Required content
Any compatible version
Changes
JCM v2.1.0-beta.2 for MTR 4.0.2 has been released!
Note: Normal players are strongly advised to wait until the official release of v2.1.0.
New (Scripting Implementation)
Scripting Engine
- Update to Rhino 1.8.1 (Minecraft 1.17+) & Rhino 1.7.15.1 (Minecraft 1.16.5)
-
- Fix a problem with formatting of floating-point numbers to strings that may result in very bad performance in some cases. (Rhino Changelog)
Execution
- Scripts may now execute across 4 different threads (Instead of only 1 background thread), which should improve the amount of scripts that can be executed simultaneously. (zbx1425 for the idea)
Networking
- Breaking change: A failed HTTP request via the
Networkingclass no longer throws an exception. -
- Use
NetworkResponse.success()to check whether the request succeeded
- Use
-
- Use
NetworkResponse.exception()to get the raw java exception.
- Use
- Add
NetworkResponse.ok()to check whether the response code returned by the server is successful. (HTTP Request Code >= 200 & <= 299)
Eyecandy Scripting
- Add
EyecandyBlockEntity.redstoneSignal()to process redstone signal in the block. -
- Note: This only returns 0 and 15 (lit & unlit) with the current implementation. Scripts should however account for future changes, where the true signal level is returned.
- Experimental: Add
EyecandyBlockEntity.setCollisionShape()to set the client-side collision shape of the block. -
- At most 1x1x1 (16x16x16 block unit), anything higher may cause the collision shape to not work as intended.
Download:
You can download this release on Modrinth, CurseForge or GitHub
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:lQqKCDhg:bJ6Vr6rE"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:lQqKCDhg:bJ6Vr6rE"
}

