Sections
A section is a block of lines pinned to one of nine places on the screen.
Order does not matter, you only write the ones you use, and anything above the first header goes to the top left. You can repeat a position to stack separate blocks with their own offsets.
Options
| Option | Values | Meaning |
|---|---|---|
| xOffset | number or expression | Positive moves right |
| yOffset | number or expression | Positive moves down |
| hideOnChat | true, false | Hide while chat is open |
| width | number, fit, max | fit hugs each line, max makes every background as wide as the longest line |
| align | left, center, right | How lines line up inside the section |
Skipped options can be left empty, but keep the commas in order.
hideOnChat only takes effect when you also give a yOffset, even if it is 0.
Offsets and screen position
Offsets are in GUI pixels, so they behave the same at every window size. Without an offset, left sections start 3 pixels in and bottom sections sit 8 pixels above the edge.
For anything that has to sit next to the hotbar it helps to know the vanilla layout, measured up from the bottom of the screen:
| Thing | Distance from bottom |
|---|---|
| Hotbar | 0 to 22 |
| XP bar | 24 to 29 |
| Hearts and food | 30 to 39 |
| Armor and air bubbles | 40 to 49 |
That is how the armor numbers sit in the empty space above the food bar:

If you use ==Scale:==, offsets are measured in scaled pixels, so a scale of 0.5 needs offsets twice as big.
Offsets can be expressions
Alignment and width
