
More BBBoatHud
Addon for the mod BBBoatHud.
- Загрузки
- 101
- Подписчики
- 1
- Обновлён
- 31 июля 2026 г.
- Лицензия
- GPL-3.0-only
Опубликован 13 июня 2026 г.
More BBBoatHud
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_pipewhen the boat collides with a block andvineboomwhen it touches an entity (edge-triggered, so it plays once per collision). Block detection uses the boat'shorizontalCollision, so the ground never triggers it
How to configure
Use /bb_boat_hud to open the web configuration interface, then:
- Go to the Add Modules tab
- Browse to the
morebbboathudnamespace - Switch to Active Modules to adjust position, scale, rotation, and anchor
License
GNU General Public License v3.0
Ченджлог
1.0.2Релиз1.21.4 · 31 июля 2026 г.
New things
- New playSound
- New default module to show the new playSound
1.0.1Релиз1.21.4 · 12 июля 2026 г.
New things
- New getWidth and getHeight functions for textures in modules.
Deleted things
- Deleted the example modules.
Other things
- Moved the "print" function from the base mod here
1.0.0Релиз1.21.4 · 13 июня 2026 г.
Made the mod :)
New things
- Possibility to read Left & Right mouse buttons
- Possibility to read space
Комментарии
Загружаем…