Fabric API
使用 Fabric 进行模组开发的必备钩子。
Fabric API 是 Fabric 模组的必备钩子和互操作机制库。例如:
- 公开许多模组有用但难以访问的功能,例如粒子、生物群系和维度
- 添加事件、钩子和 API,以改善模组之间的互操作性。
- 必备功能,例如注册表同步以及向崩溃报告添加信息。
- 专为兼容优化模组和图形大修模组而设计的高级渲染 API。
另请查看 Fabric Loader,这是为 Fabric 提供支持的(大部分)与版本无关的模组加载器。Fabric API 是一个与其他任何 Fabric 模组一样的模组,需要安装 Fabric Loader。
如需为开发者和用户提供支持与讨论,请访问 Fabric Discord 服务器。
使用 Fabric API 游玩模组
请确保你先安装了 fabric loader。有关安装 Fabric Loader 的更多信息可在此处找到。
下载的 jar 文件应放入你的 mods 文件夹中。
如何安装 Fabric API
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–26.3 on Fabric automatically.
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 26.3. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file fabric-api-0.165.2+26.3.jar (1.7 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.
Launch the loader profile
Open “Mods” in the main menu: Fabric API 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 26.3.
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 | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 26.3 | Fabric | 26.31.7 MB 23 | ||
| 26.3 | Fabric | 26.31.7 MB 507 | ||
| 26.3 | Fabric | 26.31.7 MB 170 | ||
| 26.3 | Fabric | 26.31.7 MB 110 | ||
| 26.3 | Fabric | 26.31.7 MB 224 | ||
| 26.3 | Fabric | 26.32.5 MB 57 | ||
| 26.2 | Fabric | 26.22.4 MB 338 | ||
| 26.3 | Fabric | 26.32.5 MB 1 |
评价
成为第一个评价 Fabric API 的人


