BoxLib
最基础的客户端库模组。
BoxLib 是一个库模组,包含 Boxadactle 的客户端模组中使用的共享代码。它设计为轻量级且易于使用,专注于提供客户端模组中常用的实用工具和功能。
库
功能
- 配置 GUI 处理器
- 配置文件加载器/保存器
- 客户端命令处理器
- 数学工具
- 客户端工具类
- GUI 工具类
- 渲染工具类
- 世界工具类
- 模组日志记录器
- Google 翻译功能
- 渲染布局
- 按键绑定辅助
- 提示系统
- 3D 世界渲染
依赖项
以下所有模组都需要 BoxLib:
- CoordinatesDisplay v10.0.0 及以上版本
- DebugKeybind v8.0.0 及以上版本
- MacroCraft v4.0.0 及以上版本
如果您在为特定模组查找所需的 BoxLib 版本时遇到困难,只需下载与您正在使用的 Minecraft 版本对应的最新 BoxLib 版本即可。
使用方法
如果您想使用此库,它发布在我的 Maven 仓库中:https://maven.boxadactle.dev
请勿将 BoxLib 用于服务器端模组,它是专门为客户端模组编写的。
Fabric 设置
build.gradle:
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modImplementation("dev.boxadactle.boxlib:Boxlib-fabric:VERSION")
}
请确保将 VERSION 替换为对应模组的正确版本号
NeoForge 设置
build.gradle
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modImplementation("dev.boxadactle.boxlib:Boxlib-neoforge:VERSION")
}
请确保将 VERSION 替换为对应模组的正确版本号
Architectury 设置
build.gradle
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modCompileOnlyApi("dev.boxadactle:Boxlib-common:VERSION")
}
请确保将 VERSION 替换为对应模组的正确版本号
Forge 设置
build.gradle:
jarJar.enable()
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
implementation fg.deobf("dev.boxadactle.boxlib:BoxLib-Forge:VERSION")
}
请确保将 VERSION 替换为对应模组的正确版本号
BoxLib
The most basic client-side library mod.
BoxLib is a library mod containing shared code used in Boxadactle's client mods. It is designed to be lightweight and easy to use, with a focus on providing utilities and tools that are commonly used in client-side mods.
Library
Features
- Config GUI Handler
- Config file loader/saver
- Client Command Handler
- Math
- Client Utils
- Gui Utils
- Rendering Utils
- World Utils
- Mod Logger
- Google Translation Features
- Rendering Layouts
- Keybinding helpers
- Prompt system
- 3D world rendering
Dependents
BoxLib is required by all of the following mods:
- CoordinatesDisplay v10.0.0 and above
- DebugKeybind v8.0.0 and above
- MacroCraft v4.0.0 and above
If you have trouble finding the required version of BoxLib for a specific mod, just download the latest version of BoxLib for the Minecraft version you are using.
Usage
If you would like to use this library, it is published on my maven repository: https://maven.boxadactle.dev
Please DO NOT use BoxLib for server mods, it's been specifically written for Client mods.
Setup with Fabric
build.gradle:
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modImplementation("dev.boxadactle.boxlib:Boxlib-fabric:VERSION")
}
Make sure to replace VERSION with the correct version of each mod
Setup with NeoForge
build.gradle
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modImplementation("dev.boxadactle.boxlib:Boxlib-neoforge:VERSION")
}
Make sure to replace VERSION with the correct version of each mod
Setup with Architectury
build.gradle
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modCompileOnlyApi("dev.boxadactle:Boxlib-common:VERSION")
}
Make sure to replace VERSION with the correct version of each mod
Setup with Forge
build.gradle:
jarJar.enable()
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
implementation fg.deobf("dev.boxadactle.boxlib:BoxLib-Forge:VERSION")
}
Make sure to replace VERSION with the correct version of each mod
下载 BoxLib
下载 BoxLib
下载 BoxLib
下载 BoxLib
下载 BoxLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BoxLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BoxLib
下载 BoxLib
下载 BoxLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BoxLib
更新日志
- 更新至 26.1
- 更改图标
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧