适用于 Minecraft 1.16.5, 1.17.1 的 TRansliterationLib 模组
tr7zw 的模组在 Forge+Fabric 上运行所需的库模组
1.17+ 版本无需使用。此项目将不再获得任何更新。
TRansliterationLib
音译是一种将文本从一种文字转换为另一种文字的方式,其中涉及以可预测的方式替换字母(即 trans- + liter-)[...]
描述
这个库模组承担了所有繁重的工作,使我自己开发的模组完全独立于它们所运行的模组加载器。这样做的好处是,所有内容只需编写一次,从而加快开发和维护速度,并确保模组在 Forge 或 Fabric 上运行时表现一致。
安装/版本
- 每个发布的 TRansliterationLib Jar 都可在 Fabric 和 Forge 下运行(没有两个单独的下载文件)。
- 请为你所选的 Minecraft 版本使用该库和需要它的模组的最新版本!(混用新旧版本的模组和库会出现问题/崩溃)
TLDR:请同时将所有内容更新到最新版本!
这个库具体做什么?
它为(我的模组)所需的所有类提供了类似 BukkitAPI 的接口,然后用适用于 Fabric 和 Forge 的正确实现将它们包装起来。这使我能够针对这些接口编写我的模组,从而高度独立于模组加载器或 Minecraft 版本。它还包含适用于 Fabric 和 Forge 的 Cloth Config,因此模组无需额外的外部依赖即可拥有自定义配置界面,并提供了自己的事件处理系统,用于创建自己的事件/转发 Fabric 或 Forge 事件。
如何安装 TRansliterationLib
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.16.4–1.17.1 on Fabric or Forge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric or Forge
The loader must match the game version of the mod file, for example Minecraft 1.17.1. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file TRansliterationLib-forge-1.2.2-1.17.1.jar (125 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: TRansliterationLib should be in the list.
Minecraft 1.17.1 runs on Java 16: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.17.1 | Forge | 1.2.2 - Forge125 KB | ||
| 1.17.1 | Fabric | 1.2.2 - Fabric971 KB 1 | ||
| 1.16.5 | — | 1.0.3900 KB |
评价
成为第一个评价 TRansliterationLib 的人

