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
Hide 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 ...@@ -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`: Uses other layer configurations, and has a `function` section to configure how the bar represents the `listener`:
#### Listener #### Listener
Listeners determine the percentage fill a bar texture renders. Listeners determine the percentage fill a bar texture renders.
``` ```yaml
function: function:
listener: health listener: health
``` ```
#### Increment #### Increment
The increment is the amount of sections your layer should split into. The increment is the amount of sections your layer should split into.
``` ```yaml
function: function:
increment: 13 increment: 13
``` ```
##### Orientation ##### Orientation
The way the layer should deplete from. Can either be Horizontal or Vertical. The way the layer should deplete from. Can either be Horizontal or Vertical.
``` ```yaml
function: function:
orientation: horizontal orientation: horizontal
``` ```
##### Reversed ##### Reversed
Whether or not the layer should deplete the other way. This option defaults to false. Whether or not the layer should deplete the other way. This option defaults to false.
``` ```yaml
function: function:
reversed: true reversed: true
``` ```
#### Example #### Example
``` ```yaml
fill: fill:
texture: # looking within the `/MythicHUD/textures/` folder texture: # looking within the `/MythicHUD/textures/` folder
path: assets/vanilla/exp_bar_short_fill.png 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