Skip to content
ZenonSeth edited this page Jun 12, 2025 · 6 revisions

Respec

image

Respec is a Luanti mod for easily creating of Formspecs. Respec supports all features of Formspecs past version 2.

Respec uses relative positioning to specify the layout of elements, which is what this Wiki describes with examples and visuals.

For a fully detailed reference of functions, see the Respec API

Element Arrangement

In Respec, the order in which you specify Elements does not matter for arrangement purposes.

Elements are arranged on screen relative to one another, and/or relative to layout bounds. This does not depend on which element is specified first in the list of elements.

The element order only matters for elements like StyleType which generally apply their styling only to elements that appear after their definition.

Getting Started

See the Creating a Form tab page on the right.

Clone this wiki locally