Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicHUD MythicHUD
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicHUDMythicHUD
  • Wiki
    • Components
  • Asset Layers

Asset Layers · Changes

Page history
Added yaml formatting to code blocks authored Oct 07, 2024 by Brickgard's avatar Brickgard
Show whitespace changes
Inline Side-by-side
Showing with 5 additions and 5 deletions
+5 -5
  • Components/Asset-Layers.md Components/Asset-Layers.md +5 -5
  • No files found.
Components/Asset-Layers.md
View page @ 5f405a4a
......@@ -55,30 +55,30 @@ This is a layer for a segmented texture to be linked to one of the configured [L
Uses other layer configurations, and has a `function` section to configure how the bar represents the `listener`:
#### Listener
Listeners determine the percentage fill a bar texture renders.
```
```yaml
function:
listener: health
```
#### Increment
The increment is the amount of sections your layer should split into.
```
```yaml
function:
increment: 13
```
##### Orientation
The way the layer should deplete from. Can either be Horizontal or Vertical.
```
```yaml
function:
orientation: horizontal
```
##### Reversed
Whether or not the layer should deplete the other way. This option defaults to false.
```
```yaml
function:
reversed: true
```
#### Example
```
```yaml
fill:
texture: # looking within the `/MythicHUD/textures/` folder
path: assets/vanilla/exp_bar_short_fill.png
......
Clone repository
Home
Commands and Permissions
MythicHUD API
Compatibility
  • Crucible
  • Oraxen
  • ItemsAdder
  • Modded Clients
Advanced Version Support
  • 1.20.6+
Getting Started
Layouts
Pop-Ups
HUD Components
  • Asset Layers
  • Assets
  • Listeners
  • Conditions
    • Effect
    • Gamemode
    • Placeholder
    • Progress
    • Logical Operators