[Fabric 1.19.4] vv2.2.4
Curse Maven Snippet
What's new
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
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

