Brick Lib API 是 Brick Lib 的一部分,旨在为开发者提供跨平台和跨版本 Minecraft 模组开发所需的最基础功能。
Brick Lib API 提供以下特性:
- 添加了通用事件 API,支持事件的注册、触发和取消。
- 添加了通用注册 API,支持原版注册表和 Brick Lib 的附加注册表(注意:低版本在兼容性更新后将包含高版本的注册表,但这些仅为_占位符_,且注册对象类型为_Object_!)。
- 添加了通用网络 API,支持从服务器到客户端的登录数据包以及游戏内的常规网络数据包。它还允许两端直接发送字符串,并通过事件监控发送/接收过程。
- 添加了通用配置文件 API,采用 Forge 风格的配置文件进行配置管理。
- 支持通用的数据生成器、更新检查器和客户端命令。
- 提供自定义 JSON 函数的支持,允许在 JSON 中调用已注册的处理器并返回值。
- 添加了 ResourceID 类,用于部分替代 ResourceLocation 类
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
版本游戏版本平台发布时间本站下载
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for fabric 1.20.1
1.20.1 Fabric 7 个月前 ·
0
1.20.1
Fabric
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for fabric 1.21.5
1.21.5 Fabric 7 个月前 ·
0
1.21.5
Fabric
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for forge 1.20.4
1.20.4 Forge 7 个月前 ·
0
1.20.4
Forge
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for neoforge 1.21.3
1.21.3 NeoForge 7 个月前 ·
0
1.21.3
NeoForge
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for neoforge 1.21.5
1.21.5 NeoForge 7 个月前 ·
0
1.21.5
NeoForge
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for fabric 1.21.3
1.21.3 Fabric 7 个月前 ·
0
1.21.3
Fabric
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for fabric 1.19.4
1.19.4 Fabric 7 个月前 ·
0
1.19.4
Fabric
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for fabric 1.21.4
1.21.4 Fabric 7 个月前 ·
0
1.21.4
Fabric
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for neoforge 1.21.4
1.21.4 NeoForge 7 个月前 ·
0
1.21.4
NeoForge
7 个月前
0
下载 Brick Lib API
测试版
1.0.0-beta.3
Brick Lib API 1.0.0-beta.3 for fabric 1.18.2
1.18.2 Fabric 7 个月前 ·
0
1.18.2
Fabric
7 个月前
0
下载 Brick Lib API
1.0.0-beta.3
测试版
2026-03-22
1.0.0-beta.3
- 在调用
initGeneral方法时创建versionDataFolder - 版本更新为 1.0.0-beta.3
- 将 night config 打包进阴影 JAR (shadow way)
1.0.0-beta.2
- 添加了通用事件 API,支持事件注册、触发和取消。
- 添加了通用注册 API,支持原版注册表以及 Brick Lib 的附加注册表(注意:低版本在兼容性更新后将包含高版本的注册表,但这些仅为占位符,且注册对象类型为 Object!)。
- 添加了通用网络 API,支持从服务器到客户端的登录数据包以及游戏内的常规网络数据包。它还允许在两端之间直接发送字符串,并通过事件监控发送/接收过程。
- 添加了通用配置文件 API,使用类似 Forge 风格的配置文件进行配置管理。
- 支持通用数据生成器、更新检查器和客户端命令。
- 提供自定义 JSON 函数的支持,允许在 JSON 中调用已注册的处理器并返回值。
- 添加了 ResourceID 类,用于部分替代 ResourceLocation 类
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
349
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
247
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
229
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
181
模组
AAA Particles
ChloePrime
适用于 MC 1.18+ 的 Effekseer 加载器
前置装饰
173
模组
开放派对与认领Open Parties and Claims
thexaero
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
前置实用
152
评论 0
登录后参与评分
还没有评论,来抢沙发吧