Menu.lua

Written in Lua , a lightweight and fast scripting language.

Definitions for how elements like buttons, sliders, and checkboxes appear on screen. Menu.lua

Often designed to be overwritten or modified by "mods" to add new features. Written in Lua , a lightweight and fast scripting language

Logic that executes when a user interacts with a menu item (e.g., on_click events). Technical Details Written in Lua

The mainmenu API uses it to define formspecs (UI layouts), handle callbacks, and manage game worlds.

Tables containing menu items, labels, and associated values.