关于 TxniLib 模组

这是一个前置库模组!如果你不是开发者,不用担心它。它出现在你的整合包里,很可能是因为它是另一个模组的前置。


如果你是开发者,你好!这个库专门设计用来配合我的多版本模板模组使用,我用它从同一套代码库同时在 1.20 和 1.21 上为 Forge 和 Fabric 发布模组。除了我发现有用的一些杂项内容外,这个模组主要包含平台和版本特定的实现,以减少跨版本维护项目时大量重复的 if/else。欢迎你使用它,但文档只在我有空的时候才会提供。
如何安装 TxniLib
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.20–1.21.4 on Fabric, Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 1.21.4. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file txnilib-fabric-1.0.24-1.21.4.jar (1.3 MB) 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: TxniLib should be in the list.
Minecraft 1.21.4 runs on Java 21: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.21.4 | Fabric | TxniLib Fabric 1.0.24 for 1.21.41.3 MB 4 | ||
| 1.21.1 | NeoForge | TxniLib Neoforge 1.0.24 for 1.21.16 MB 1 | ||
| 1.20.1 | Forge | TxniLib Forge 1.0.24 for 1.20.13.6 MB 1 |
常见问题
Which Minecraft versions does TxniLib work on?
There are files for 1.21.4, 1.21.1, 1.20.1, 1.20. The newest is 1.21.4.
Is TxniLib for Forge or Fabric?
There are files for Fabric: 1.21.4, for Forge: 1.20–1.20.1 and for NeoForge: 1.21.1.
Does TxniLib need other mods?
The author lists no required dependencies: the Fabric, Forge or NeoForge loader is enough.
Which Java does TxniLib need?
Minecraft 1.21.4 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download TxniLib safely?
On this page: the file txnilib-fabric-1.0.24-1.21.4.jar (1.3 MB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 69d1448d96fe0d838b87c02b02a5e677024bc562.
评价
成为第一个评价 TxniLib 的人

