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

OptionValuesMeaning
xOffsetnumber or expressionPositive moves right
yOffsetnumber or expressionPositive moves down
hideOnChattrue, falseHide while chat is open
widthnumber, fit, maxfit hugs each line, max makes every background as wide as the longest line
alignleft, center, rightHow 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:

ThingDistance from bottom
Hotbar0 to 22
XP bar24 to 29
Hearts and food30 to 39
Armor and air bubbles40 to 49

That is how the armor numbers sit in the empty space above the food bar:

Armor durability sitting above the hunger 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

A right aligned panel with a solid width