Giới thiệu mod TxniLib

Đây là một mod thư viện! Nếu bạn không phải là nhà phát triển, đừng bận tâm về nó. Có thể nó nằm trong modpack của bạn như một dependency cho mod khác.
Nếu bạn là nhà phát triển, xin chào! Thư viện này được thiết kế riêng để hoạt động cùng với mod template đa phiên bản của tôi, thứ tôi dùng để phát hành mod đồng thời trên 1.20 & 1.21 cho Forge & Fabric, từ một codebase duy nhất. Bên cạnh những thứ linh tinh tôi thấy hữu ích, mod này chủ yếu chứa các triển khai đặc thù cho từng nền tảng và phiên bản nhằm giảm bớt lượng if/else lặp lại khi duy trì dự án qua nhiều phiên bản. Bạn cứ thoải mái sử dụng nó, nhưng tài liệu chỉ được cung cấp khi tôi có thêm thời gian rảnh.
Cách cài đặt 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.20.1 on Fabric automatically, together with its dependencies: Fabric API.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric
The loader must match the game version of the mod file, for example Minecraft 1.20.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 txnilib-fabric-1.0.24-1.20.1.jar (1.0 MB) for your game version.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Fabric API.
Launch the loader profile
Open “Mods” in the main menu: TxniLib should be in the list.
On a server
A server on Fabric
The mod only works on a server with the same loader and game version, for example 1.20.1.
File goes into the server’s mods folder
Stop the server, put the mod file into the mods folder and start the server again.
Use the “To server” button
On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.
Minecraft 1.20.1 runs on Java 17: with a different Java version the game may close right after launch.
Phiên bản
Kèm phụ thuộc
| Minecraft | Loader | Tệp | Hành động |
|---|---|---|---|
| 1.20.1 | Fabric | 1.20.11 MB 5 |
Yêu cầu để chạy
- Fabric APIbắt buộc
Câu hỏi thường gặp
Which Minecraft versions does TxniLib work on?
There are files for 1.20.1, 1.20. The newest is 1.20.1.
Is TxniLib for Forge or Fabric?
Only for Fabric: 1.20–1.20.1. There are no files for Forge or NeoForge: a mod for another loader will not start.
What does TxniLib need to work?
Required: Fabric API. Without it the mod will not start: dependencies go into the same mods folder.
Does TxniLib work on a server?
Yes. TxniLib works both in singleplayer and on a server.
Which Java does TxniLib need?
Minecraft 1.20.1 runs on Java 17. 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.20.1.jar (1.0 MB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: ef3d09633f44a6a7ee818c9872cb12472bc420ba.
Đánh giá
Hãy là người đầu tiên đánh giá TxniLib


