Layouts organize images and text elements into reusable components. They’re configured in YAML files in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/toxicity188/BetterHud/llms.txt
Use this file to discover all available pages before exploring further.
layouts/ directory.
File Structure
Layout configuration files are located at:plugins/BetterHud/layouts/
Basic Layout Structure
default-layout.yml
Configuration Options
Map of image elements in the layout
Map of text elements in the layout
Animation configuration for the entire layout
duration: Animation duration in ticksx-equation: Horizontal movement equationy-equation: Vertical movement equation
Image/Text Position
Name of the image or text element to display
Horizontal pixel offset within the layout
Vertical pixel offset within the layout
Examples
Health Bar Layout
health-layout.yml
Text and Image Layout
player-info.yml
Animated Layout
floating-layout.yml
See Also
Images
Configure image elements
Texts
Configure text elements
Animations
Learn about equation-based animations
HUDs
Use layouts in HUDs
