?️ CrossTie
适用于 Minecraft 1.7.10 的 RTM (RealTrainMod) 综合优化与兼容性补丁模组。

? 项目概述
CrossTie 在一个 JAR 文件中,为多个模组(如 RTM / NGTLib / MCTE (KaizPatchX)、Angelica、Bamboo、IntelliInput、GTNHLib、Hodgepodge 以及 LiteLoader / Macro / Keybind Mod)提供渲染负载降低、更新频率抑制和兼容性修复。
? 自动检测:在启动时自动检测目标模组,仅当检测到相应模组时才启用对应的补丁。
? 状态
? 环境与构建状态
| 项目 |
状态 / 版本 |
| 构建 |
 |
| Modrinth |
 |
| Minecraft |
1.7.10 |
| Forge |
10.13.4.1614 |
| Java |
8 |
| 所需模组 |
UniMixins 0.3.1+ |
| 构建系统 |
RetroFuturaGradle 1.4.1 |
| 最后验证 |
2026-06-19 |
? 内部结构索引
- Mixin 控制:
CrossTieMixinPlugin.java
- ASM CoreMod:
CrossTieCorePlugin.java
- ASM 转换器:
CrossTieClassTransformer.java
- 可检测模组:
RealTrainMod, NGTLib, MCTE, Angelica, Bamboo, IntelliInput, GTNHLib, Hodgepodge, LiteLoader, MacroMod, Keybind Mod, RailMapCustom, MinFo
? 推荐配置
以获得最佳性能的推荐模组版本。
| 模组名称 |
推荐版本 |
类别 |
| CrossTie |
1.0.0-Alpha6 |
主程序 |
| UniMixins |
0.3.1 |
必需 |
| KaizPatchX |
1.10.0 |
推荐 |
| Angelica |
2.1.42+ |
推荐 |
| GTNHLib |
0.11.18+ |
推荐 |
| Hodgepodge |
2.7.162+ |
可选 |
| ArchaicFix |
0.8.0 |
可选 |
| ShaderFixer |
5.4 |
可选 |
⚡ 功能说明
CrossTie 解决了 RTM 相关模组与性能增强模组之间出现的以下三个核心问题。
- ? FPS 优化
- ⏳ TPS 优化
- 对实体(Entities)和方块实体(TileEntities)进行更新稀疏化处理。
- ? 兼容性修复
- 解决 Angelica 与 RTM 之间的显示列表冲突。
- 重定向 GL 调用。
- 避免模组间的类加载器冲突。
?️ 架构
CrossTie 采用三层补丁机制,在合适的阶段安全介入。
1. ASM CoreMod (CrossTieCorePlugin)
作为 IFMLLoadingPlugin 在 Minecraft 启动后的最早阶段运行。
- 模组检测器 (ModDetector):扫描
mods/ 文件夹,并从 JAR/ZIP/litemod 文件名中自动检测已安装的模组。
- MinFo 检测 + Angelica 自动调整:如果检测到 MinFo,它将强制重写
config/angelica-modules.cfg 中的 B:enableFontRenderer 为 false。
2. ASM 类转换器 (CrossTieClassTransformer)
在 Mixin 阶段之前,直接在类加载期间重写字节码。这完全避免了 Mixin 无法处理的“加载顺序问题”和 MixinTargetAlreadyLoadedException。
| 目标类 / 方法 |
内容 |
GTNHLib 0.9.x MixinBlock_IconWrapper |
将 nhlib$getParticleIcon 重定向至 GtnhLibIconCompat |
Angelica CTM MixinRenderBlocks |
将玻璃窗格图标解析(例如 tweakPaneIcons)重定向至 AngelicaPaneIconCompat |
MCPatcher GlassPaneRenderer |
将 setupIcons 替换为 return false |
Hodgepodge StringPooler$GuavaPooler |
将 getString(s) 替换为 s.intern()(避免 Guava 类加载器冲突) |
NGTLib/RTM ScriptUtil |
将 doScript(String) 替换为 ScriptUtilFallback.doScript(String)(支持没有 Nashorn 的环境) |
MacroMod MacroModPermissions |
从所有方法中移除 tamperCheck() 调用 |
LiteLoader PermissionsManagerClient |
使 tamperCheck() 成为空操作 |
SplashProgress$3 (SplashProgress$3) |
在 run() 开始时通过反射注入 GL 状态重置代码(GL_TEXTURE_2D + glColor4f) |
3. Mixin(动态应用)
CrossTieMixinPlugin 根据检测到的已安装模组,动态应用所需的 Mixin。
? 各模组的详细 Mixin 应用列表(点击展开)
? Angelica
AngelicaRenderGlobalDisplayListCrashMixin (客户端 + Angelica + crosstie.enableNativeRenderGlobalDisplayLists=true)
- 在渲染
hi03ExpressRailwayRail 时,避免使用 Angelica 的显示列表,转而使用传统的 OpenGL 路径。
SplashProgressBlackoutFixMixin (客户端 + Angelica + enableFontRenderer=false)
? GTNHLib
ObjectPoolerThreadSafeMixin (GTNHLib always)
MixinBlockPaneFix / MixinBlockPaneIconFallback / MixinBlockIconFallback (Client + GTNHLib)
? KaizPatchX (NGTScriptUtil / MCTE / RailMapCustom / NGTLib / RTM)
ScriptUtilInvocableCacheMixin (NGTScriptUtil)
AngelicaScriptTransformCacheMixin (Client + Angelica + KaizPatch + NGTScriptUtil)
- 使用
ScriptGlRedirector(GL 调用重定向 + 缓存)拦截 AngelicaCompat.transformScript。
ModelPackManagerScriptRedirectMixin (Client + Angelica + RTM + NGTScriptUtil)
- 对
ModelPackManager.getScript 应用 ScriptGlRedirector。
RailMapCustomCacheMixin (RailMapCustom)
McteWorldSetBlockDiffMixin (MCTE)
RenderMiniatureDynamicLightMixin / RenderItemMiniatureDynamicLightMixin (Client + MCTE)
EntityTrainBaseSpeedSyncMixin / EntityTrainBaseOptimizationMixin (RTM)
RenderElectricalWiringConnectionCacheMixin / BlockLinePoleConnectionCacheMixin (Client + RTM)
RenderLargeRailOptimizationMixin / RenderLargeRailChunkBatchMixin (Client + RTM)
RailPartsRendererOptimizationMixin (Client + RTM)
? LiteLoader / MacroMod
MixinPermissionsManagerClient / MacroModCoreMixin
? Supported Mod Details
| Mod |
Detection Name |
Main Patch / Content |
| RealTrainMod |
RTM |
渲染优化、更新频率降低、GL 重定向 |
| NGTLib |
NGTLib / NGTScriptUtil |
ScriptUtil 兼容性、GL 重定向 |
| MCTE |
MCTE |
微缩渲染修复、动态光照 |
| KaizPatch |
KaizPatch |
Angelica 集成、脚本缓存 |
| Angelica |
Angelica / AngelicaGlsm |
显示列表冲突修复、设置自动调整 |
| Bamboo |
Bamboo |
渲染剔除、更新频率抑制(向后兼容) |
| IntelliInput |
IntelliInput |
IME 回调稳定化(向后兼容) |
| GTNHLib |
GTNHLib |
图标解析、线程安全 |
| Hodgepodge |
Hodgepodge |
避免 Guava 类加载器冲突 |
| LiteLoader |
LiteLoader |
权限管理修复 |
| MacroMod |
MacroMod |
移除 tamperCheck、权限修复 |
| Keybind Mod |
(Bundled detection) |
移除 tamperCheck |
| RailMapCustom |
RailMapCustom |
铁路地图缓存 |
? Installation
- 将下载的
CrossTie-*.jar 放入 mods 文件夹。
- 将所需的
UniMixins 0.3.1+ 放入 mods 文件夹。
- 根据您的需要,添加目标模组,例如 RTM / Angelica / Bamboo / IntelliInput。
- 正常启动游戏。
?️ Build and Development
? Build Procedure
./gradlew build --no-daemon
?️ CrossTie
Comprehensive optimization and compatibility patch Mod for RTM (RealTrainMod) on Minecraft 1.7.10.

? Project Overview
CrossTie provides rendering load reduction, update frequency suppression, and compatibility fixes across multiple Mods—such as RTM / NGTLib / MCTE (KaizPatchX), Angelica, Bamboo, IntelliInput, GTNHLib, Hodgepodge, and LiteLoader / Macro / Keybind Mod—all within a single JAR.
? Auto-Detection: Target Mods are automatically detected at startup, and corresponding patches are enabled only if they are present.
? Status
? Environment & Build Status
| Item |
Status / Version |
| Build |
 |
| Modrinth |
 |
| Minecraft |
1.7.10 |
| Forge |
10.13.4.1614 |
| Java |
8 |
| Required Mod |
UniMixins 0.3.1+ |
| Build System |
RetroFuturaGradle 1.4.1 |
| Last Verified |
2026-06-19 |
? Internal Structure Index
- Mixin Control:
CrossTieMixinPlugin.java
- ASM CoreMod:
CrossTieCorePlugin.java
- ASM Transformer:
CrossTieClassTransformer.java
- Detectable Mods:
RealTrainMod, NGTLib, MCTE, Angelica, Bamboo, IntelliInput, GTNHLib, Hodgepodge, LiteLoader, MacroMod, Keybind Mod, RailMapCustom, MinFo
? Recommended Configuration
Recommended Mod versions for optimal performance.
| Mod Name |
Recommended Version |
Category |
| CrossTie |
1.0.0-Alpha6 |
Main |
| UniMixins |
0.3.1 |
Required |
| KaizPatchX |
1.10.0 |
Recommended |
| Angelica |
2.1.42+ |
Recommended |
| GTNHLib |
0.11.18+ |
Recommended |
| Hodgepodge |
2.7.162+ |
Optional |
| ArchaicFix |
0.8.0 |
Optional |
| ShaderFixer |
5.4 |
Optional |
⚡ What it does
CrossTie solves the following three core problems that occur between RTM-related Mods and performance-enhancing Mods.
- ? FPS Optimization
- Rendering culling, update frequency suppression, and switching to immediate rendering.
- ⏳ TPS Optimization
- Thinning updates for Entities and TileEntities.
- ? Compatibility Fixes
- Resolving display list conflicts between Angelica and RTM.
- Redirecting GL calls.
- Avoiding class loader conflicts between Mods.
?️ Architecture
CrossTie features a 3-layer patch mechanism, intervening safely at the appropriate phase.
1. ASM CoreMod (CrossTieCorePlugin)
Runs as an IFMLLoadingPlugin in the earliest phase immediately after Minecraft starts.
- ModDetector: Scans the
mods/ folder and automatically detects installed Mods from JAR/ZIP/litemod filenames.
- MinFo Detection + Angelica Auto-Adjustment: If MinFo is detected, it forcibly rewrites
B:enableFontRenderer to false in config/angelica-modules.cfg.
2. ASM Class Transformer (CrossTieClassTransformer)
Directly rewrites bytecode during class loading, before the Mixin phase. This completely avoids "loading order issues" and MixinTargetAlreadyLoadedException that Mixins cannot handle.
| Target Class / Method |
Content |
GTNHLib 0.9.x MixinBlock_IconWrapper |
Redirects nhlib$getParticleIcon to GtnhLibIconCompat |
Angelica CTM MixinRenderBlocks |
Redirects glass pane icon resolution (e.g., tweakPaneIcons) to AngelicaPaneIconCompat |
MCPatcher GlassPaneRenderer |
Replaces setupIcons with return false |
Hodgepodge StringPooler$GuavaPooler |
Replaces getString(s) with s.intern() (Avoids Guava class loader conflicts) |
NGTLib/RTM ScriptUtil |
Replaces doScript(String) with ScriptUtilFallback.doScript(String) (Support for environments without Nashorn) |
MacroMod MacroModPermissions |
Removes tamperCheck() calls from all methods |
LiteLoader PermissionsManagerClient |
Makes tamperCheck() a no-op |
SplashProgress$3 (SplashProgress$3) |
Injects GL state reset (GL_TEXTURE_2D + glColor4f) via reflection at the start of run() |
3. Mixin (Dynamic Application)
CrossTieMixinPlugin dynamically applies only the necessary Mixins based on the detected installed Mods.
? Detailed list of Mixin applications per Mod (Click to expand)
? Angelica
AngelicaRenderGlobalDisplayListCrashMixin (Client + Angelica + crosstie.enableNativeRenderGlobalDisplayLists=true)
- When rendering
hi03ExpressRailwayRail, avoids Angelica's display lists and uses the legacy OpenGL path.
SplashProgressBlackoutFixMixin (Client + Angelica + enableFontRenderer=false)
- Fixes texture state caching issues on the splash screen.
? GTNHLib
ObjectPoolerThreadSafeMixin (GTNHLib always)
- Thread-safe object pooling.
MixinBlockPaneFix / MixinBlockPaneIconFallback / MixinBlockIconFallback (Client + GTNHLib)
- Fixes icon display and retrieval fallbacks for glass panes and blocks.
? KaizPatchX (NGTScriptUtil / MCTE / RailMapCustom / NGTLib / RTM)
ScriptUtilInvocableCacheMixin (NGTScriptUtil)
- Optimization of Invocable cache.
AngelicaScriptTransformCacheMixin (Client + Angelica + KaizPatch + NGTScriptUtil)
- Intercepts
AngelicaCompat.transformScript with ScriptGlRedirector (GL call redirection + caching).
ModelPackManagerScriptRedirectMixin (Client + Angelica + RTM + NGTScriptUtil)
- Applies
ScriptGlRedirector to ModelPackManager.getScript.
RailMapCustomCacheMixin (RailMapCustom)
- Optimization of rail map cache.
McteWorldSetBlockDiffMixin (MCTE)
- Optimization of world block difference sets.
RenderMiniatureDynamicLightMixin / RenderItemMiniatureDynamicLightMixin (Client + MCTE)
- Fixes dynamic lighting for miniature blocks and miniature items.
EntityTrainBaseSpeedSyncMixin / EntityTrainBaseOptimizationMixin (RTM)
- Optimization of train speed synchronization and entity updates.
RenderElectricalWiringConnectionCacheMixin / BlockLinePoleConnectionCacheMixin (Client + RTM)
- Caching for wiring rendering and track pole connections.
RenderLargeRailOptimizationMixin / RenderLargeRailChunkBatchMixin (Client + RTM)
- Optimization of large rail rendering and chunk batch processing.
RailPartsRendererOptimizationMixin (Client + RTM)
- Optimization of rail parts renderer.
? LiteLoader / MacroMod
MixinPermissionsManagerClient / MacroModCoreMixin
- Compatibility fixes for permissions and core.
? Supported Mod Details
| Mod |
Detection Name |
Main Patch / Content |
| RealTrainMod |
RTM |
Rendering optimization, update thinning, GL redirection |
| NGTLib |
NGTLib / NGTScriptUtil |
ScriptUtil compatibility, GL redirection |
| MCTE |
MCTE |
Miniature rendering fixes, dynamic lighting |
| KaizPatch |
KaizPatch |
Angelica integration, script caching |
| Angelica |
Angelica / AngelicaGlsm |
Display list conflict fixes, auto-adjustment of settings |
| Bamboo |
Bamboo |
Rendering culling, update frequency suppression (backward compatibility) |
| IntelliInput |
IntelliInput |
IME callback stabilization (backward compatibility) |
| GTNHLib |
GTNHLib |
Icon resolution, thread-safety |
| Hodgepodge |
Hodgepodge |
Avoids Guava class loader conflicts |
| LiteLoader |
LiteLoader |
Permission management fixes |
| MacroMod |
MacroMod |
Removal of tamperCheck, permission fixes |
| Keybind Mod |
(Bundled detection) |
Removal of tamperCheck |
| RailMapCustom |
RailMapCustom |
Rail map cache |
? Installation
- Place the downloaded
CrossTie-*.jar into the mods folder.
- Place the required
UniMixins 0.3.1+ into the mods folder.
- Depending on your needs, add target Mods such as RTM / Angelica / Bamboo / IntelliInput.
- Start the game normally.
?️ Build and Development
? Build Procedure
./gradlew build --no-daemon
评论 0
登录后参与评分
还没有评论,来抢沙发吧