Skip to content

Allow rendering other modules from placeholders#3900

Merged
jurrejelle merged 26 commits into1.20.1from
tar/placeholder-module-rendering
Feb 8, 2026
Merged

Allow rendering other modules from placeholders#3900
jurrejelle merged 26 commits into1.20.1from
tar/placeholder-module-rendering

Conversation

@TarLaboratories
Copy link
Copy Markdown
Contributor

@TarLaboratories TarLaboratories commented Sep 14, 2025

What

Adds new placeholders:

  • {module <slot> <x> <y>}
    Renders the specified module on the central monitor (i.e. if there's an image module in the slot it renders the image)
  • {setImage <slot> <url>}
    Sets the URL in an image module
  • {rect <x> <y> <width> <height> <color>}
    Renders a rectangle with the specified parameters
  • {quad <x1> <y1> <x2> <y2> <x3> <y3> <x4> <y4> <color1> <color2> <color3> <color4>}
    Renders a quad with the specified parameters

Outcome

Images can be rendered dynamically with placeholders. Also adds API to allow placeholders to render anything basically.

This feature only works for the central monitor. Any additional rendering from placeholder won't be called in the cover renderer.

Screenshots

2025-09-15_18 53 22

@TarLaboratories TarLaboratories requested a review from a team as a code owner September 14, 2025 10:20
@TarLaboratories TarLaboratories added type: feature New feature or request bundled for a 0.X.0 Update Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. labels Sep 14, 2025
@github-actions github-actions bot added 1.20.1 Tests: Passed Game Tests have passed on this PR labels Sep 14, 2025
@jurrejelle jurrejelle added the Feature Frozen Content Slated for NEXT update during a testing-cycle. Effectively, do not merge with this update. label Sep 15, 2025
@github-actions github-actions bot added Tests: Failed Game Tests have failed on this PR and removed Tests: Passed Game Tests have passed on this PR labels Sep 15, 2025
@github-actions github-actions bot added Tests: Passed Game Tests have passed on this PR and removed Tests: Failed Game Tests have failed on this PR labels Sep 15, 2025
@TarLaboratories TarLaboratories removed the Feature Frozen Content Slated for NEXT update during a testing-cycle. Effectively, do not merge with this update. label Sep 25, 2025
@jurrejelle jurrejelle added the Feature Frozen Content Slated for NEXT update during a testing-cycle. Effectively, do not merge with this update. label Sep 27, 2025
@TarLaboratories TarLaboratories requested review from a team and jurrejelle September 28, 2025 05:47
@github-actions github-actions bot added Tests: Failed Game Tests have failed on this PR Tests: Passed Game Tests have passed on this PR and removed Tests: Passed Game Tests have passed on this PR Tests: Failed Game Tests have failed on this PR labels Oct 24, 2025
@jurrejelle jurrejelle merged commit 5c91489 into 1.20.1 Feb 8, 2026
4 checks passed
@jurrejelle jurrejelle deleted the tar/placeholder-module-rendering branch February 8, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Feature Frozen Content Slated for NEXT update during a testing-cycle. Effectively, do not merge with this update. Release: Major - 0.X.0 Releases focused on Content, changes to gameplay; While maintaining mostly API stability. Tests: Passed Game Tests have passed on this PR type: feature New feature or request bundled for a 0.X.0 Update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants