Skip to content

Conversation

@duzos
Copy link
Member

@duzos duzos commented Jan 7, 2026

No description provided.

@duzos duzos self-assigned this Jan 7, 2026
@duzos duzos added the enhancement New feature or request label Jan 7, 2026
}

public Rectangle getPreferredLayout() {
if (preferredLayout == null) return layout != null ? layout : new Rectangle(0, 0, 100, 100);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this real fallback

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what

}

boolean requiresNewRow = false;
if (json.has("requires_new_row")) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this like inline in css?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk what that is

duzos added 8 commits January 7, 2026 20:37
- Add core Lua infrastructure (GuiScript, GuiScriptManager, LuaBinder, LuaExpose annotation)

- Add LuaElement wrapper to expose AmbleElement properties to Lua scripts

- Add Minecraft API bindings (MinecraftData, MinecraftEntity, LuaItemStack)

- Integrate script callbacks (onInit, onClick, onRelease, onHover) into AmbleButton

- Add script property support in JSON GUI definitions

- Improve AmbleText with proper text wrapping and shadow toggle

- Add setDimensions helper to AmbleElement
@duzos duzos changed the title json defined guis AmbleScript ( LUA ) & JSON defined GUIs Jan 8, 2026
@duzos duzos merged commit 9a56e17 into main Jan 8, 2026
1 check passed
@duzos duzos deleted the api/gui branch January 8, 2026 02:04
@duzos
Copy link
Member Author

duzos commented Jan 8, 2026

oops

@duzos duzos restored the api/gui branch January 8, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants