0.1.2 for Fabric 1.17.1
on 2024 Dec 07-
Fix: Incorrect lighting for the interior of DK3
-
Fix: Error when loading OBJ models with materials without textures
-
Add: Error report screen when OBJ models fail to load
-
Fix: Incorrect timing of DK3 door animation
-
Fix: Incorrect car facing on train pulled by D51
-
Fix: Incorrect rendering order of transparent faces
-
修正: DK3 车内光照不正确
-
修正: 含有无纹理的材质的 OBJ 模型无法加载
-
新增: OBJ 模型加载期间出现问题时显示报告页面
-
修复: DK3 车门动画播放时机不正确
-
修复: 透明面渲染顺序不正确
0.5.2 for 1.20.1
on 2024 Dec 07MTR 版本要求: 3.1.12 以上 4.0.0 以下 MTR Version Required: Above 3.1.12 but below 4.0.0
更新日志:
- 更改: 由于与包含地面部分的轨道模型一起使用时效果不佳,桥接器创建者现在不再在斜坡顶部的节点下方放置完整方块。
- 修复: 使用 Noto Sans CJK 覆盖 MTR 的无衬线字体导致绘制问题。
- 添加: (JS) DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复: (JS) EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 更改: (JS) 允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复: (JS) 脚本重新加载后函数调用聚合。
- 修复: (JS) CycleTracker.stateNowDuration 返回错误的值。
- 修复: ModelCluster.uploadedTranslucentPart 未释放。
更改内容:
- 更改: 由于与包含地面部分的轨道模型配合不佳,桥接器创建者现在不再在斜坡顶部的节点下方放置完整方块。
- 修复: 使用 Noto Sans CJK 替代 MTR 的无衬线字体时导致绘制问题。
- 添加: (JS) DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复: (JS) 装饰物件的 ScriptHolder 和 ScriptContext 无法重新加载。
- 变更: (JS) 允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复: (JS) 脚本重新加载后函数调用叠加。
- 修复: (JS) CycleTracker.stateNowDuration 返回错误的值。
- 修复: ModelCluster.uploadedTranslucentPart 未释放。
0.5.2 for 1.19.4
on 2024 Dec 07MTR 版本要求:3.1.12 及以上且低于 4.0.0
MTR 版本要求:3.1.12 以上且 4.0.0 以下
更新日志:
- 更改:由于与包含地面部分的轨道模型一起使用时效果不佳,桥梁创建器现在不再在斜坡顶部的节点下方放置完整方块。
- 修复:MTR 的无衬线字体被 Noto Sans CJK 覆盖,导致绘制问题。
- 添加:(JS) DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复:(JS) EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 更改:(JS) 允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复:(JS) 脚本重新加载后函数调用聚合。
- 修复:(JS) CycleTracker.stateNowDuration 返回错误的值。
- 修复:ModelCluster.uploadedTranslucentPart 未释放。
更改内容:
- 更改:由于与带地面的轨道模型配合不佳,桥梁创建器现在不再在顶端节点下方放置完整方块了。
- 修复:使用 Noto Sans CJK 替代 MTR 的无衬线字体时导致了绘制问题。
- 添加:(JS) DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复:(JS) 装饰物件的 ScriptHolder 和 ScriptContext 无法重新加载。
- 更改:(JS) 允许在 DisplayHelper 中设置渲染阶段以及共享贴图。
- 修复:(JS) 脚本重新加载后函数调用叠加。
- 修复:(JS) CycleTracker.stateNowDuration 返回错误的值。
- 修复:ModelCluster.uploadedTranslucentPart 未释放。
0.5.2 for 1.19.3
on 2024 Dec 07MTR 版本要求:3.1.12 及以上且 4.0.0 以下 MTR 版本要求:3.1.12 以上且 4.0.0 以下
更新日志:
- 更改:由于与包含地面部分的轨道模型配合时效果不佳,桥梁创建器现在不再在斜坡顶部的节点下方放置完整方块。
- 修复:使用 Noto Sans CJK 覆盖 MTR 的无衬线字体导致绘制问题。
- 添加:(JS)DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复:(JS)EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 更改:(JS)允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复:(JS)脚本重新加载后函数调用聚合。
- 修复:(JS)CycleTracker.stateNowDuration 返回错误值。
- 修复:ModelCluster.uploadedTranslucentPart 未释放。
更改内容:
- 更改:由于与含地面的轨道模型配合不佳,桥梁创建器现在不在斜坡顶端节点下方放置完整方块。
- 修复:使用 Noto Sans CJK 替代 MTR 的无衬线字体导致绘制问题。
- 添加:(JS)DynamicModelHolder 实用类,用于编程创建模型。
- 修复:(JS)EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 变更:(JS)允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复:(JS)脚本重新加载后函数调用叠加。
- 修复:(JS)CycleTracker.stateNowDuration 返回错误值。
- 修复:ModelCluster.uploadedTranslucentPart 未释放。
0.5.2 for 1.19.2
on 2024 Dec 07MTR 版本要求: 3.1.12 以上 4.0.0 以下
MTR 版本要求: 3.1.12 以上且低于 4.0.0
更新日志:
- 更改: 由于与包含地面部分的轨道模型一起使用时效果不佳,桥梁创建器现在不再在斜坡顶部的节点下方放置完整方块。
- 修复: 使用 Noto Sans CJK 覆盖 MTR 的无衬线字体导致绘制问题。
- 添加: (JS) DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复: (JS) EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 更改: (JS) 允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复: (JS) 脚本重新加载后函数调用聚合。
- 修复: (JS) CycleTracker.stateNowDuration 返回错误值。
- 修复: ModelCluster.uploadedTranslucentPart 未释放。
更改内容:
- 更改: 由于与包含地面部分的轨道模型配合不佳,桥梁创建器现在不再在顶端节点下方放置完整方块。
- 修复: 使用 Noto Sans CJK 替代 MTR 的无衬线字体时导致绘制问题。
- 添加: (JS) DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复: (JS) 装饰物件的 ScriptHolder 和 ScriptContext 无法重新加载。
- 变更: (JS) 允许在 DisplayHelper 中设置渲染阶段以及共享贴图。
- 修复: (JS) 脚本重新加载后函数调用叠加。
- 修复: (JS) CycleTracker.stateNowDuration 返回错误的值。
- 修复: ModelCluster.uploadedTranslucentPart 未释放。
0.5.2 for 1.18.2
on 2024 Dec 07MTR 版本要求: 3.1.12 以上 4.0.0 以下
MTR Version Required: Above 3.1.12 but below 4.0.0
更新日志:
- 更改: 由于与包含地面部分的轨道模型一起使用时会产生不良影响,桥梁创建器现在不再在斜坡顶部的节点下方放置完整方块。
- 修复: MTR 的无衬线字体被 Noto Sans CJK 覆盖,导致绘制问题。
- 添加: (JS) DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复: (JS) EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 更改: (JS) 允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复: (JS) 脚本重新加载后函数调用聚合。
- 修复: (JS) CycleTracker.stateNowDuration 返回错误的值。
- 修复: ModelCluster.uploadedTranslucentPart 未释放。
更改内容:
- 更改: 由于与带有地面的轨道模型配合不佳,桥梁创建器现在不会在顶端节点下方放置完整方块。
- 修复: 使用 Noto Sans CJK 替代 MTR 的无衬线字体时出现绘制问题。
- 添加: (JS) DynamicModelHolder 实用类,用于通过编程方式创建模型。
- 修复: (JS) EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 变更: (JS) 允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复: (JS) 脚本重新加载后函数调用叠加。
- 修复: (JS) CycleTracker.stateNowDuration 返回错误的值。
- 修复: ModelCluster.uploadedTranslucentPart 未被释放。
0.5.2 for 1.17.1
on 2024 Dec 07MTR 版本要求:3.1.12 以上且 4.0.0 以下
MTR Version Required: Above 3.1.12 and below 4.0.0
更新日志:
- 更改:由于与包含地面部分的轨道模型一起使用时效果不佳,桥梁创建者现在不再在斜坡顶部的节点下方放置完整方块。
- 修复:使用 Noto Sans CJK 覆盖 MTR 的无衬线字体导致绘制问题。
- 添加:(JS) DynamicModelHolder 实用类,用于以编程方式创建模型。
- 修复:(JS) EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 更改:(JS) 允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复:(JS) 脚本重新加载后函数调用聚合。
- 修复:(JS) CycleTracker.stateNowDuration 返回错误值。
- 修复:ModelCluster.uploadedTranslucentPart 未释放。
更改内容:
- 更改:由于与含地面的轨道模型配合不佳,桥梁创建器现不在顶端节点下方放置完整方块。
- 修复:用 Noto Sans CJK 替换 MTR 的无衬线字体导致绘图问题。
- 添加:(JS) DynamicModelHolder 实用类,用于编程创建模型。
- 修复:(JS) EyeCandy 的 ScriptHolder 和 ScriptContext 无法重新加载。
- 变更:(JS) 允许在 DisplayHelper 中设置渲染类型并共享纹理。
- 修复:(JS) 脚本重新加载后函数调用叠加。
- 修复:(JS) CycleTracker.stateNowDuration 返回错误值。
- 修复:ModelCluster.uploadedTranslucentPart 未释放。
0.5.1 for 1.20.1
on 2024 Dec 07MTR Version Required: Above 3.1.12 but below 4.0.0
Changelog:
- Fix: Bridge & tunnel creator became too imprecise in 0.5.0, now it should be relatively better
- Fix: Bridge creator not removing one block on top (now in line with original MTR behavior)
- Change: Bridge creator now places a full block below the node at the top of a slope
- Change: Bridge creator now place double slabs at where it used to place top slabs
- Fix: Crash when using Sodium 0.5+
Change Content:
- Fix: The bridge and tunnel creator became too inaccurate in 0.5.0. Now it should be relatively better.
- Fix: The bridge creator does not remove the top block. (Now it is in line with the original MTR behavior.)
- Change: The bridge creator now places a full block below the node at the top of a slope.
- Change: The bridge creator now places double slabs where it used to place top slabs.
- Fix: A crash occurs when using Sodium 0.5+.
0.5.1 for 1.19.4
on 2024 Dec 07MTR version requirements: above 3.1.12 and below 4.0.0
Changelog:
- Fix: The bridge and tunnel creator became too inaccurate in 0.5.0. Now it should be relatively better.
- Fix: The bridge creator did not remove one block on top. (Now in line with the original MTR behavior.)
- Change: The bridge creator now places a full block below the node at the top of a slope.
- Change: The bridge creator now places double slabs where it used to place top slabs.
- Fix: Crash when using Sodium 0.5+.
Change content:
- Fix: The bridge and tunnel creator became too inaccurate in 0.5.0. It should be relatively better now.
- Fix: The bridge creator did not remove one block on top. (Now it is in line with the original MTR behavior.)
- Change: The bridge creator now places a full block below the node at the top of a slope.
- Change: The bridge creator now places double slabs where it used to place top slabs.
- Fix: Crash when using Sodium 0.5+.
0.5.1 for 1.19.3
on 2024 Dec 07MTR 版本要求: 3.1.12 以上 4.0.0 以下
MTR Version Required: Above 3.1.12 but below 4.0.0
更新日志:
- 修复: 0.5.0 版本中,桥梁和隧道创建器变得过于不准确,现在应该相对更好了。
- 修复: 桥梁创建器不再移除顶部的一个方块(现在与原始 MTR 行为一致)。
- 更改: 桥梁创建器现在在斜坡顶部的节点下方放置一个完整的方块。
- 更改: 桥梁创建器现在在原本放置顶半砖的位置放置双半砖。
- 修复: 使用 Sodium 0.5+ 时的崩溃问题。
更改内容:
- 修复: 桥梁和隧道创建器在 0.5.0 版本中存在的精度问题,现在表现更优。
- 修复: 桥梁创建器在顶部方块处理上的错误,恢复到原始 MTR 行为。
- 更改: 桥梁创建器在斜坡顶部节点下方的方块放置方式。
- 更改: 桥梁创建器在放置顶半砖位置的更改。
- 修复: Sodium 0.5+ 环境下的崩溃问题。
0.5.1 for 1.19.2
on 2024 Dec 07MTR Version Requirements: Above 3.1.12 and below 4.0.0
Changelog:
- Fix: The bridge and tunnel creator became too inaccurate in 0.5.0. Now it should be relatively better.
- Fix: The bridge creator did not remove one block on top. (Now in line with the original MTR behavior.)
- Change: The bridge creator now places a full block below the node at the top of a slope.
- Change: The bridge creator now places double slabs where it used to place top slabs.
- Fix: Crash when using Sodium 0.5+.
Change Content:
- Fix: The bridge and tunnel creator became too inaccurate in 0.5.0. It is now relatively better.
- Fix: The bridge creator did not remove one block on top. It is now in line with the original MTR behavior.
- Change: The bridge creator now places a full block below the node at the top of a slope.
- Change: The bridge creator now places double slabs where it used to place top slabs.
- Fix: Crash when using Sodium 0.5+.
0.5.1 for 1.18.2
on 2024 Dec 07MTR 版本要求: 3.1.12 以上 4.0.0 以下
MTR Version Required: Above 3.1.12 but below 4.0.0
变更日志:
- 修复: 桥梁和隧道创建器在 0.5.0 中变得过于不精确,现在应该相对更好一些
- 修复: 桥梁创建器不会移除顶部的一个方块(现在与原始 MTR 行为一致)
- 更改: 桥梁创建器现在在斜坡顶部的节点下方放置一个完整的方块
- 更改: 桥梁创建器现在在原本放置顶块的地方放置双块
- 修复: 在使用 Sodium 0.5+ 时崩溃
更改内容:
- 修复: 桥梁和隧道创建器在 0.5.0 中变得过于不精确,现在应该相对更好一些
- 修复: 桥梁创建器不会移除顶部的一个方块(现在与原始 MTR 行为一致)
- 更改: 桥梁创建器现在在斜坡顶部的节点下方放置一个完整的方块
- 更改: 桥梁创建器现在在原本放置顶块的地方放置双块
- 修复: 在使用 Sodium 0.5+ 时崩溃
0.5.1 for 1.17.1
on 2024 Dec 07MTR Version Required: Above 3.1.12 but below 4.0.0
Changelog:
- Fix: The bridge and tunnel creator became too inaccurate in 0.5.0. Now it should be relatively better.
- Fix: The bridge creator did not remove one block on top. (Now in line with the original MTR behavior.)
- Change: The bridge creator now places a full block below the node at the top of a slope.
- Change: The bridge creator now places double slabs where it used to place top slabs.
- Fix: A crash occurred when using Sodium 0.5+.
Change Content:
- Fix: The bridge and tunnel creator became too inaccurate in 0.5.0. It should be relatively better now.
- Fix: The bridge creator did not remove one block on top. (It is now in line with the original MTR behavior.)
- Change: The bridge creator now places a full block below the node at the top of a slope.
- Change: The bridge creator now places double slabs where it used to place top slabs.
- Fix: A crash occurred when using Sodium 0.5+.
0.5.0 for 1.20.1
on 2024 Dec 07MTR 版本要求: 3.1.12 以上 4.0.0 以下
MTR 版本要求: 大于 3.1.12 且小于 4.0.0
更新日志:
- 添加: 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
成员(由 Jeffreyg1228 提供) - 添加: JS:
BlockEntityEyeCandy
中的getWorldPosVector3f
成员
0.5.0 for 1.19.4
on 2024 Dec 07MTR Version Required: Above 3.1.12 but below 4.0.0
Change Log:
- 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
/dispose
functions in different entries ofscript_files
- Add: JS: Train script quick reload shortcut (
F3+5
) (Might break rendering sometimes?) - Add: JS:
GraphicsTexture
debug overlay (use withsetDebugInfo
) - Fix: JS: Trains'
render
functions not called when first car outside visible range - Fix: JS: Trains' gangway textures incorrectly rendered at barrier width
- Add: JS:
isClientPlayerRiding
member inTrain
- Add: JS:
displayMessage
,narrate
member inMinecraftClient
(By Jeffreyg1228) - Add: JS:
getWorldPosVector3f
member inBlockEntityEyeCandy
Change Details:
- Newly added: 1-block-wide bridge creator
- Newly added: Inject and modify MTR's bridge and tunnel creator logics to make them run faster
- Changed: Support using INTERIOR render stage for rail models' materials
- Newly added: In JS, support defining multiple
create
/render
/dispose
functions in different entries ofscript_files
- Newly added: In JS, add a train script quick reload shortcut (
F3+5
) (It may sometimes break rendering.) - Newly added: In JS, add a
GraphicsTexture
debug overlay (used withsetDebugInfo
) - Fixed: In JS, when the first car of a train is outside the visible range, its
render
function is not called. - Fixed: In JS, the gangway textures of trains are incorrectly rendered at the barrier width.
- Newly added: In JS, add the
isClientPlayerRiding
member toTrain
. - Newly added: In JS, add the
displayMessage
andnarrate
members toMinecraftClient
(by Jeffreyg1228). - Newly added: In JS, add the
getWorldPosVector3f
member toBlockEntityEyeCandy
.
0.5.0 for 1.19.3
on 2024 Dec 07MTR Version Required: Above 3.1.12 but below 4.0.0
Change Log:
- 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
/dispose
functions in different entries ofscript_files
- Add: JS: Train script quick reload shortcut (
F3+5
) (Might break rendering sometimes?) - Add: JS:
GraphicsTexture
debug overlay (use withsetDebugInfo
) - Fix: JS: Trains'
render
functions not called when first car outside visible range - Fix: JS: Trains' gangway textures incorrectly rendered at barrier width
- Add: JS:
isClientPlayerRiding
member inTrain
- Add: JS:
displayMessage
,narrate
member inMinecraftClient
(By Jeffreyg1228) - Add: JS:
getWorldPosVector3f
member inBlockEntityEyeCandy
Change Details:
- Newly added: 1-block-wide bridge creator.
- Newly added: Inject into MTR's bridge and tunnel creator logics to make them run faster.
- Changed: Support the INTERIOR material render stage for rail models.
- Newly added: In JS, support defining multiple
create
/render
/dispose
functions in different entries ofscript_files
. - Newly added: In JS, add a train script quick reload shortcut (
F3+5
) (It may sometimes break rendering?). - Newly added: In JS, add a
GraphicsTexture
debug overlay (use withsetDebugInfo
). - Fixed: In JS, when the first car of the train is outside the visible range, its
render
function is not called. - Fixed: In JS, the gangway textures of the train are incorrectly rendered at the barrier width.
- Newly added: In JS, add the
isClientPlayerRiding
member inTrain
. - Newly added: In JS, add the
displayMessage
andnarrate
members inMinecraftClient
(by Jeffreyg1228). - Newly added: In JS, add the
getWorldPosVector3f
member inBlockEntityEyeCandy
.
0.5.0 for 1.19.2
on 2024 Dec 07MTR 版本需求:3.1.12 及以上且 4.0.0 以下
更新日志:
- 添加:1 格宽的桥梁创建器
- 添加:注入到 MTR 的桥梁和隧道创建器逻辑中,使其更快
- 更改:支持铁路模型的内部材质渲染阶段
- 添加:JS:支持在“script_files”的不同条目中定义多个“create”/“render”/“dispose”函数
- 添加:JS:列车脚本快速重新加载快捷键(“F3+5”)(可能有时会影响渲染?)
- 添加:JS:“GraphicsTexture”调试覆盖层(使用“setDebugInfo”)
- 修复:JS:当第一节车厢超出可见范围时,列车的“render”函数未被调用
- 修复:JS:列车的舷梯纹理在护栏宽度处渲染不正确
- 添加:JS:“Train”中的“isClientPlayerRiding”成员
- 添加:JS:“MinecraftClient”中的“displayMessage”、“narrate”成员(由 Jeffreyg1228 提供)
- 添加:JS:“BlockEntityEyeCandy”中的“getWorldPosVector3f”成员
Change content:
- Add: 1-block-wide bridge creator
- Add: Inject into MTR's bridge and tunnel creator logic to make it faster
- Change: Support INTERIOR material render stage for rail models
- Add: JS: Support defining multiple
create
/render
/dispose
functions in different entries ofscript_files
- Add: JS: Train script quick reload shortcut (
F3+5
) (May sometimes break rendering?) - Add: JS:
GraphicsTexture
debug overlay (use withsetDebugInfo
) - Fix: JS: Trains'
render
functions not called when first car outside visible range - Fix: JS: Trains' gangway textures incorrectly rendered at barrier width
- Add: JS:
isClientPlayerRiding
member inTrain
- Add: JS:
displayMessage
,narrate
member inMinecraftClient
(By Jeffreyg1228) - Add: JS:
getWorldPosVector3f
member inBlockEntityEyeCandy
0.5.0 for 1.18.2
on 2024 Dec 07MTR 版本要求: 3.1.12 以上 4.0.0 以下
MTR 版本要求: 3.1.12 以上且 4.0.0 以下
更新日志:
- 添加: 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
成员(由 Jeffreyg1228 提供) - 添加: JS:
BlockEntityEyeCandy
中的getWorldPosVector3f
成员
更改内容:
- 新增: 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
成员(由 Jeffreyg1228 提供) - 新增: JS:
BlockEntityEyeCandy
中的getWorldPosVector3f
成员
0.5.0 for 1.17.1
on 2024 Dec 07MTR Version Requirements: Above 3.1.12 and below 4.0.0
Change Log:
- Add: 1-block-wide bridge creator
- Add: Inject into MTR's bridge and tunnel creator logics to make them faster
- Change: Support INTERIOR material render stage for rail models
- Add: JS: Support defining multiple
create
/render
/dispose
functions in different entries ofscript_files
- Add: JS: Train script quick reload shortcut (
F3+5
) (May sometimes break rendering?) - Add: JS:
GraphicsTexture
debug overlay (use withsetDebugInfo
) - Fix: JS: Trains'
render
functions not called when the first car is outside the visible range - Fix: JS: Trains' gangway textures are incorrectly rendered at the barrier width
- Add: JS:
isClientPlayerRiding
member inTrain
- Add: JS:
displayMessage
,narrate
member inMinecraftClient
(By Jeffreyg1228) - Add: JS:
getWorldPosVector3f
member inBlockEntityEyeCandy
Change Details:
- Add: 1-block-wide bridge creator
- Add: Inject into MTR's bridge and tunnel creator logics to enhance their performance
- Change: Enable INTERIOR material render stage for rail models
- Add: JS: Allow defining multiple related functions in
script_files
- Add: JS: Provide a quick reload shortcut for train scripts
- Add: JS: Add a debug overlay for
GraphicsTexture
- Fix: JS: Ensure
render
functions are called for trains when the first car is out of sight - Fix: JS: Correct the rendering of gangway textures at the barrier width
- Add: JS: Add a member to represent if the client player is riding in
Train
- Add: JS: Add
displayMessage
andnarrate
members toMinecraftClient
- Add: JS: Add a member to get the world position vector in
BlockEntityEyeCandy
0.4.2 for 1.19.4
on 2024 Dec 07MTR 版本需求:3.1.12 以上且 4.0.0 以下
此更新包含一些错误修复。
变更日志:
- 变更:默认情况下关闭半透明面的深度排序(希望这能提高性能)
- 变更:优先处理更靠近玩家的轨道渲染更新
- 修复:非常长的轨道导致的性能问题(具体而言,之前在视距之外的轨道段仍会被渲染)
- 修复:阶段设置为 INTERIOR_TRANSLUCENT 的列车模型部件在细节渲染距离之外未隐藏(MTR 原版无论 skip_rendering_if_too_far 的设置如何都会隐藏它们,现在已更改为与原版 MTR 的行为匹配)
- 修复:对于带有 JavaScript 的列车,当最后一个站台不在车站区域内时会崩溃
- 修复:香港繁体翻译损坏
- 添加:“/mtrnte hideriding”命令,作为切换“隐藏正在乘坐的列车”渲染设置的快捷方式
- 添加:列车 JavaScript 成员“id()”、“siding()”、“lastCarPosition”、“lastCarRotation”