Asset layers are the things that display textures or text. They combine together to create assets.
Whether the layer should align on the right, left, or center. The default alignment is right.
This is either true or false if you want to have the layers outlined. This option only works on 1.19+.
If you would like to move a layer around relative to the other layers you would set the offset. Offset works through pixel perfect adjustments.
In this example, the layer would be moved to the left 5 pixels and up 2 pixels.
This layer is used when you have a texture that you want to display.
Put the texture you would want to use in the HappyHud/textures directory and then input the path.
This is a decimal number determining the scale you would like to display. The default scale is 1.
scale: 1.5 #Scales the image up 1.5 times.
x: 1.2 #Scales the x axis by 1.2 times.
y: 0.5 #Scales the y axis by 0.5 times.
This layer is used when you just want to place an unchanging texture. The only parameters are the texture path, color, and the offset.
This layer is used when you would like to display a segmented texture that is linked to a listener, such as a progress bar.
The increment is the amount of sections your layer should split into.
The way the layer should deplete from. Can either be Horizontal or Vertical.
Whether or not the layer should deplete the other way. This option defaults to false.
The text that you want to display. This supports PlaceholderAPI placeholders as well as custom ones shown below.