Tags
Creators
Details
Licensed MIT
Created 4 years ago
Updated 2 weeks ago
All versions
v2.2.4+1.17.1
Release
[Fabric 1.17.1] v2.2.42 weeks ago 89
Compatibility
Minecraft: Java Edition
1.17.1
Platform
Fabric
Supported environments
Client and server
Required content
Any compatible version
Changes
JCM v2.2.4 for MTR 4.0.5 has been released!
Additions
- Add
MinecraftClientWrapper.getRedstoneLevel(pos: BlockPos)to obtain the emitted redstone level in the world at a specific BlockPos. - Add
Resources.hasSystemFont()to check if a font is available in the system EyecandyBlockWrapper.redstoneLevel()now returns the true redstone level, instead of only 0 and 15.- Add an extra
soundCategory: Stringargument overload forSoundManager.playSoundandSoundManager.playLocalSoundto play sound other than in the "Master" category. - PIDS Scripting:
- Add
TextWrapper.renderType()to specify a custom render type for text, alongside TextureWrapper. - Add
TextWrapper.naturalLight()andTextureWrapper.naturalLight()to allow rendering PIDS elements at world light.
- Add
Changes
- Incorrect invocation of
ModelManager.upload()will now throw an error instead of crashing the game. - Whitelist
top.mcmtr.coreandtop.mcmtr.modfor scripting - Vehicle Scripting:
ctx.setDataFetchMode()is now deprecated. You should now configure it in the script entry via thedataFetchModefield.
Fixes
Scripting
- Fix Vehicle Stops Data incorrect when multiple same route is assigned
- Fix
TrainWrapper.accelerationConstant()returning value that is 160000x higher. - Fix a bug where changing an eyecandy scripted model will not dispose the previous script.
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:FelaPSAe"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:lQqKCDhg:FelaPSAe"
}

