1 KiB
Canonical canvas integration
CanvasProvider supplies the new SuppliedDocument to DunerealmsGUI.presentSuppliedMenu. That method reuses the installed MCGUI canvas/HTML transport and its hosted resource pack. It does not call the old MenuDocument renderer. Java pages use direct slot actions; Bedrock receives the same menu definitions as native forms.
Read-only facts remain visible below the cards; long listing/journal pages grow so the canvas renderer can scroll the document. Dynamic labels/lore are escaped. Rendering failure and pack absence fail closed rather than substitute demo data.
Existing service callbacks are wrapped by the native GuiSession and the new menu's world/presentation generation guards. The transport must not create a second GuiSession for these supplied pages, because that would invalidate the authoritative native session.
CI builds DuneMenus.jar together with DunerealmsGUI.jar, DuneNPC.jar and the unchanged JARVIS backend. No independent live-file installation is part of this change.

Staff