More BBBoatHud 图标

More BBBoatHud

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/more-bbboathud
资源信息

Minecraft 版本: 1.21.4

平台: fabric

标签: utility

资源介绍

More BBBoatHud

Downloads Release

Adds pressingSpace, pressingLeftClick, pressingRightClick, touchingBlock, and touchingEntity to BBBoatHud that is required for this mod to work.

About

BBBoatHud exposes boat input states like pressingForward, pressingBack, pressingLeft, pressingRight to Lua modules, but doesn't track jump/attack/use inputs, nor whether the boat is touching an entity. This addon fills that gap.

Variables

Variable Description
pressingSpace Space/jump key is held
pressingLeftClick Left click/attack key is held
pressingRightClick Right click/use key is held
touchingBlock The boat is colliding with a block horizontally (wall impact; the ground never triggers it)
touchingEntity The boat is touching a collidable entity

Functions

Function Returns Description
print(message) Prints a message to chat
getWidth("path") number Width of a texture in pixels (0 if missing)
getHeight("path") number Height of a texture in pixels (0 if missing)

The print() function shows a blue underlined message in chat. Hover to see which module sent it.

Texture paths work the same as renderTexture — relative to textures/bb_boat_hud_modules/ in the module's namespace.

local w = getWidth("my_texture.png")
local h = getHeight("my_texture.png")

Included modules

After installing, go to the Add Modules tab in /bb_boat_hud and find the morebbboathud namespace:

  • crash_sounds — plays metal_pipe when the boat collides with a block and vineboom when it touches an entity (edge-triggered, so it plays once per collision). Block detection uses the boat's horizontalCollision, so the ground never triggers it

How to configure

Use /bb_boat_hud to open the web configuration interface, then:

  1. Go to the Add Modules tab
  2. Browse to the morebbboathud namespace
  3. Switch to Active Modules to adjust position, scale, rotation, and anchor

License

GNU General Public License v3.0

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Bare Bones Mob Elytras

价格:0 墨喵币
下载量:0

查看详情
Virtues of Life

价格:0 墨喵币
下载量:0

查看详情
Pluto Pack

价格:0 墨喵币
下载量:0

查看详情
Take That Back

价格:0 墨喵币
下载量:0

查看详情