Brick Lib API
作者:fho4565
Providing a universal API for developing Minecraft mods across multiple game versions and loaders, featuring components such as event buses, registration systems, networking, configuration files, and data generators.
介绍
中文介绍正在准备中,下面暂时显示原文。
Brick Lib API is part of Brick Lib, designed to provide developers with the most basic functionalities for cross-platform and cross-version Minecraft mod development.
Brick Lib API offers the following features:
- Added a universal event API that supports event registration, triggering, and cancellation.
- Added a universal registration API that supports both vanilla registries and Brick Lib’s additional registries (Note: Lower versions will include higher version registries after compatibility updates, but these are only _placeholders_, and the registered object type is _Object_!).
- Added a universal network API that supports login packets from the server to the client and in-game regular network packets. It also allows sending strings directly between both ends and monitoring sending/receiving via events.
- Added a universal configuration file API, using Forge-style configuration files for configuration management.
- Supports universal data generators, update checkers, and client-side commands.
- Provides support for custom JSON functions, allowing registered handlers to be called within JSON and return values.
- Added the ResourceID class for partial replacement of the ResourceLocation class
常见问题
Brick Lib API 支持哪些 Minecraft 版本?
Brick Lib API 支持 Minecraft Java 版 1.18.2–1.21.5,共 11 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Brick Lib API 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分