More BBBoatHud
BBBoatHud 模组的附加组件(此模组正常工作需安装该前置模组)。
变量
| 变量 | 描述 |
|---|---|
pressingSpace |
空格键被按住 |
pressingLeftClick |
鼠标左键被按住 |
pressingRightClick |
鼠标右键被按住 |
sliderValue |
renderSlider 函数内的当前滑块值 |
函数
| 函数 | 返回值 | 描述 |
|---|---|---|
print(message) |
- | 在聊天栏打印一条消息 |
renderButton(width, height, canBeUsed, anchor, function) |
- | 绘制一个可点击的按钮 |
renderSlider(width, height, canBeUsed, minValue, maxValue, value, anchor, function) |
- | 绘制一个可拖动的滑块,回调执行前会设置 sliderValue |
onMenuOpen(anchor, function) |
- | 当菜单打开时运行该函数 |
onMenuClose(function) |
- | 当菜单关闭时运行该函数 |
getWidth("path") |
number | 返回纹理的宽度(像素) |
getHeight("path") |
number | 返回纹理的高度(像素) |
getConfig(key, fallback) |
value | 返回已保存的配置值,若未设置则返回 fallback |
setConfig(key, value) |
- | 将值保存到模块配置中(字符串、数字或布尔值) |
More BBBoatHud
Addon for the mod BBBoatHud (required for this mod to work).
Variables
| Variable | Description |
|---|---|
pressingSpace |
Space is held |
pressingLeftClick |
Left click is held |
pressingRightClick |
Right click is held |
sliderValue |
Current slider value inside renderSlider function |
Functions
| Function | Returns | Description |
|---|---|---|
print(message) |
- | Prints a message to chat |
renderButton(width, height, canBeUsed, anchor, function) |
- | Draws a clickable button |
renderSlider(width, height, canBeUsed, minValue, maxValue, value, anchor, function) |
- | Draws a draggable slider, sliderValue is set before the callback |
onMenuOpen(anchor, function) |
- | Run the function when the menu gets open |
onMenuClose(function) |
- | Run the function when the menu gets closed |
getWidth("path") |
number | Returns the width of a texture in pixels |
getHeight("path") |
number | Returns the height of a texture in pixels |
getConfig(key, fallback) |
value | Returns a saved config value, or fallback if not set |
setConfig(key, value) |
- | Saves a value to the module's config (string, number, or boolean) |
版本游戏版本平台发布时间本站下载
正式版
1.2.2
More BBBoatHud 1.2.2
1.21.11 Fabric 1 个月前 ·
0
1.21.11
Fabric
1 个月前
0
下载 More BBBoatHud
正式版
1.2.2
More BBBoatHud 1.2.2
1.21.4 Fabric 1 个月前 ·
0
1.21.4
Fabric
1 个月前
0
下载 More BBBoatHud
正式版
1.2.2
More BBBoatHud 1.2.2
1.21.1 Fabric 1 个月前 ·
0
1.21.1
Fabric
1 个月前
0
下载 More BBBoatHud
正式版
1.2.1
More BBBoatHud 1.2.1
1.21.4 Fabric 2 个月前 ·
0
1.21.4
Fabric
2 个月前
0
下载 More BBBoatHud
测试版
1.2.1
More BBBoatHud 1.2.1
1.21.1 Fabric 2 个月前 ·
0
1.21.1
Fabric
2 个月前
0
下载 More BBBoatHud
正式版
1.2.0
More BBBoatHud 1.2.0
1.21.4 Fabric 2 个月前 ·
0
1.21.4
Fabric
2 个月前
0
下载 More BBBoatHud
测试版
1.2.0
More BBBoatHud 1.2.0
1.21.1 Fabric 2 个月前 ·
0
1.21.1
Fabric
2 个月前
0
下载 More BBBoatHud
正式版
1.1.2
More BBBoatHud 1.1.2
1.21.4 Fabric 3 个月前 ·
0
1.21.4
Fabric
3 个月前
0
下载 More BBBoatHud
测试版
1.1.2
More BBBoatHud 1.1.2
1.21.1 Fabric 3 个月前 ·
0
1.21.1
Fabric
3 个月前
0
下载 More BBBoatHud
测试版
1.1.1
More BBBoatHud 1.1.1
1.21.1 Fabric 3 个月前 ·
0
1.21.1
Fabric
3 个月前
0
下载 More BBBoatHud
1.2.2
正式版
2026-10-17
新增 1.21.11 支持
修复菜单按钮的响应性问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
341
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
241
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
240
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
模组
Applied Energistics 2
shartte
AE2:一款流行的自动化与存储模组
存储科技
217
模组
WTHIT
deirn
那是什么?一个 Waila/Hwyla 的分支。
前置实用
165
评论 0
登录后参与评分
还没有评论,来抢沙发吧