ModApache-2.0
Brick Lib API
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.
187
Downloads
0
Followers
4 months ago
Updated
📦
23
Versions
📖About Brick Lib API
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