More BBBoatHud

Quick rating

Community listing page, reviews here may not be monitored by the author.

More BBBoatHud

By NapsterNPTOwner

No reviews yet

Addon for the mod BBBoatHud.

Mod Loaders
Minecraft

About

Description

More BBBoatHud

Downloads Release

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)