Tags
Creators
Details
All versions
2.1.0+1.21.8-fabric
Release
JsMacrosCE 2.1.0 (fabric 1.21.8)31 minutes ago 1
Compatibility
Minecraft: Java Edition
1.21.8
Platform
Fabric
Supported environments
Client-side
Changes
JsMacrosCE 2.1.0 for fabric on Minecraft 1.21.8. Source: https://github.com/JsMacrosCE/JsMacros
Highlights
- Supports Minecraft 1.21.5, 1.21.8, 1.21.10, 1.21.11, 26.1.2, 26.2, and 26.3 on Fabric and NeoForge. Choose the JAR for your Minecraft version and loader.
- The documentation site now has a scripting guide and a separate API reference for each Minecraft version. The GitHub devkit ZIP includes the offline site, TypeScript declarations, and Python stubs.
- Scripts can use type names like
EntityHelpers.Horsewithout hard-coding Java package names.JsMacros.stopScript()stops the current run and removes its event listeners. - Rendering additions include
Draw2D.clear(), visibility and element controls forDraw3D, surface lighting controls, and theColorlibrary for packed colors.
Upgrading
- JavaScript is built in. For Python, replace the old GraalPython extension with
jsmacrosce-ext-graalpy-2.1.0.jarfrom GitHub Releases. Put it inconfig/jsMacros/Extensions/, not inmods/. The same extension JAR works across all supported Minecraft versions and loaders. - Use
com.jsmacrosceinstead ofxyz.wagyourtailfor direct JsMacros Java class lookups. Prefer the script type namespaces where they provide the type you need. - Prefer Mojang packet names in new scripts. Packet filters still accept legacy names, and send/receive event
typevalues still use the legacy names where available. - On a fresh config, the default
ProfileLoadtrigger forindex.jsstarts disabled. Enable it in the Events tab if you want that script to run on profile load.
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:2m9WfquA:zXLuiqrT"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:2m9WfquA:zXLuiqrT"
}

