Tags
Creators
Details
All versions
0.5.0+1.18.2
Release
0.5.0 for 1.18.22 years ago 2,316
Compatibility
Minecraft: Java Edition
1.18.2
Platforms
Fabric
Forge
Supported environments
Client and server
Required content
Any compatible version
Changes
MTR 版本要求: 3.1.12 以上 4.0.0 以下
MTR Version Required: Above 3.1.12 but below 4.0.0
Changelog:
- Add: 1-block-wide bridge creator
- Add: Inject into MTR's bridge & tunnel creator logics and make them faster
- Change: Support INTERIOR material render stage for rail models
- Add: JS: Support defining multiple
create/render/disposefunctions in different entries ofscript_files - Add: JS: Train script quick reload shortcut (
F3+5) (Might break rendering sometimes?) - Add: JS:
GraphicsTexturedebug overlay (use withsetDebugInfo) - Fix: JS: Trains'
renderfunctions not called when first car outside visible range - Fix: JS: Trains' gangway textures incorrectly rendered at barrier width
- Add: JS:
isClientPlayerRidingmember inTrain - Add: JS:
displayMessage,narratemember inMinecraftClient(By Jeffreyg1228) - Add: JS:
getWorldPosVector3fmember inBlockEntityEyeCandy
更改内容:
- 新增:1 格宽的桥梁创建器
- 新增:注入修改 MTR 的桥梁、隧道创建器逻辑,以使其更快
- 更改:支持铁路模型材质使用 INTERIOR 渲染阶段
- 新增:JS: 支持在
script_files的不同条目中定义多个create/render/dispose函数 - 新增:JS: 列车脚本快速重新加载快捷键(
F3+5)(可能有时会搞坏渲染?) - 新增:JS:
GraphicsTexture调试叠加层 (通过setDebugInfo使用) - 修复:JS: 当第一节车厢超出可见范围时,列车的
render函数不被调用 - 修复:JS: 列车的连通道贴图渲染在了护栏的宽度上
- 新增:JS:
Train中的isClientPlayerRiding成员 - 新增:JS:
MinecraftClient中的displayMessage、narrate成员(By Jeffreyg1228) - 新增:JS:
BlockEntityEyeCandy中的getWorldPosVector3f成员
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:8pXSjgW8:JcbvR9yu"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:8pXSjgW8:JcbvR9yu"
}

