Changelog
MTR 版本要求: 3.1.12 以上 4.0.0 以下
MTR Version Required: Above 3.1.12 but below 4.0.0
This update involves rather major changes, which makes it likely that some bugs has sneaked through. As always, please do report any glitches you encounters so that I can get them fixed ASAP.
-
Add: JavaScript scripting support. This is a rather complicated system targeting advanced resource pack authors with some knowledge about programming. It allows very flexible control of the appearance of the train, enabling many dynamic features such as fully customizable animated LCD display, rotating wheels etc. to be implemented.
-
Add: BBMODEL preload optimization. It converts BBMODEL to the same internal structure as OBJ models and uploads them to VRAM in advance during loading, giving BBMODEL the same level of rendering performance as OBJ models. (Built-in trains don't receive this optimization right now.) Do note that it's currently turned off by default, as players testing it reported that it boosts performance on some devices but lowers FPS on some other devices. You can switch it on or off basing on your actual experience.
-
Add: Utilizes Forgix to produce an all-in-one JAR for both Forge and Fabric.
-
Change: NTE is now versioned like "MTR-NTE-0.4.0+1.19.2", instead of the previous "MTR-NTE-1.19.2-0.4.0", in order to better comply with versioning conventions.
-
Change: Added version requirements to fabric.mod.json and forge mods.toml. You should now get a proper error screen instead of a crash when accidentally using the 1.19.2 NTE in Minecraft 1.18.2 for example.
-
Change: Changed exact version check to a "protocol version" check. NTE now won't disallow you from joining a server with a slightly newer NTE on the client-side that has the same underlyings about syncing data.
-
Add: "Incompatible resource pack" warning due to Minecraft version is inhibited for MTR resource packs.
-
Fix: Decoration Objects render at incorrect location or orientation, or spins along the brush icon.
-
Fix: One of the rail models can be invisible from the rail model selection screen.
-
Add: Right-clicking rail node again with brush flips the rail model orientation.
-
Fix: Translucent faces don't lay on top of each other correctly. Now depth sorting for translucent faces is properly implemented.
-
Change: Config screen now uses Cloth Config. Should look better and more organized.
-
Add: Train sound effects can be muted from NTE config screen.
-
Add: The rendering of translucent faces can be disabled from NTE config screen.
-
Add: NTE rendering config can be accessed from Forge mod menu.
-
Add: Automatically merges groups from OBJ model that moves simultaneously together, making rendering performance better while eliminating the need to have the resource pack author manually merge them.
-
Change: Object groups ("o") in OBJ files are also supported for grouping, in addition to the previous ("g") grouping.
-
Add: Allow specifying UV direction with "flipV" in train or decoration object JSON. No need to write "#flipv" or flip the textures anymore.
-
Change: Resource loading exception screen now uses Cloth Config.
-
Change: Vertex indices in models are validated before uploading.
-
Change: The previous (never formally announced) JSON-based dynamic display system has been removed.
-
Add: Adds the exact file name to the error message when JSON syntax errors occurs while MTR is loading custom resources. (breaks MRP)
-
Fix: Some potential memory leaks.
本次更新涉及比较大的改动,有可能不慎造出了更多 bug。还请报告您遇到的任何 bug,以便我能尽快修复它们。
更改内容:
-
新增: JavaScript 脚本支持。这是一个较为复杂的系统,主要针对具有一定编程知识的高级资源包作者。它可以非常灵活地控制列车的外观,实现许多动态功能,如完全自定义的动画 LCD 显示屏、可旋转的车轮等。
-
新增: BBMODEL 预加载优化。它将 BBMODEL 转换为与 OBJ 模型相同的内部结构,并在加载资源包时提前上载到 VRAM,使 BBMODEL 的渲染性能达到与 OBJ 模型相同的水平。 (内置列车暂不受到此功能优化。) 目前默认情况下该功能是关闭的,因为有玩家在测试中反映,该功能在某些设备上会提高 FPS,但在其他设备上会降低 FPS。请根据您的实际情况设置。
-
新增: 利用 Forgix 构建了 Forge 和 Fabric 二合一的 JAR。
-
更改: NTE 现在的版本号形如 "MTR-NTE-0.4.0+1.19.2",而不是之前的 "MTR-NTE-1.19.2-0.4.0",以便更好地遵守版本惯例。
-
更改: 在 fabric.mod.json 和 forge mods.toml 中写明了版本要求。现在如您不慎在 Minecraft 1.18.2 中用了 1.19.2 的 NTE 时,应该会出现错误提示窗口而不是直接崩了。
-
更改: 将精确版本检查改为 "协议版本" 检查。现在在您客户端上使用的 NTE 版本稍新的时候不会不让连服务器了,只要这两个版本在数据同步方面是一样的。
-
新增: 对于 MTR 资源包,NTE 会隐藏由于 Minecraft 版本不同而导致的 "不兼容" 警告。
-
修复: 装饰物件以不正确的位置或方向显示,或跟着刷子图标一起旋转。
-
修复: 在轨道模型选择屏幕中,其中一个轨道模型可能看不到。
-
新增: 使用刷子再次右键单击轨道节点可翻转轨道模型的方向。
-
修复: 半透明面叠放次序不正确。现在写了一个正确的半透明面深度排序流程。
-
更改: 设置屏幕现在使用 "Cloth Config"。应该会更好看、更有条理。
-
新增: 可以在 NTE 配置界面关闭列车音效。
-
新增: 可以在 NTE 配置界面禁用半透明面的渲染。
-
新增: 可从 Forge 模组菜单访问 NTE 渲染配置。
-
新增: 自动合并一起移动的 OBJ 模型组,提高渲染性能,同时也无需资源包作者手动合并了。
-
更改: 支持了 OBJ 文件中的物体组("o")。之前只支持 "g"。
-
新增: 允许在火车或装饰对象 JSON 中使用 "flipV" 指定 UV 方向,不需要作者写 "#flipv" 或是翻转贴图文件了。
-
更改: 资源加载错误报告屏幕现在使用 Cloth Config。
-
更改: 上传前会验证模型中的顶点索引。
-
更改: 移除了之前(从未正式公布的)一个基于 JSON 的动态显示屏系统。
-
新增: 在 MTR 加载自定义资源时出现 JSON 语法错误时,在错误信息中添加准确的文件名。(但是和 MRP 不兼容了)
-
修复: 一些潜在的内存泄漏。
Dependencies
Files
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
0.4.0+1.19.2Loaders
Game versions
1.19.2Downloads
755Publication date
October 3, 2023 at 6:33 AMPublisher
Zbx1425
Owner