Skip to content

feat: ship a gallery pack with a working scene of each feature - #28

Merged
adamico merged 7 commits into
mainfrom
gallery-pack
Oct 16, 2026
Merged

adamico merged 7 commits into
mainfrom
gallery-pack

Conversation

@adamico

@adamico adamico commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Summary

The Gallery pack, Pipeworks Gallery: a datapack in the jar, off by default, with a working scene of each README feature (libworks ADR 0010).

 src/main/resources/
+├── gallery_pack/data/pipeworks/function/gallery/
+│   ├── build.mcfunction      # nine scenes, rows of three, each row 16 north of the last
+│   ├── clear / sign / pool   # shared: clear a plot, a sign that replays its scene, a glass-walled source
+│   └── pipes, buckets, one_fluid, breaking, tank_level, creative_pipe, pump, outlet, dismantle
 └── assets/pipeworks/lang/en_us.json   # + sign text, pack name
 src/main/java/.../
 ├── Pipeworks.java            # + GalleryPack.register
 └── gametest/
+    └── GalleryTests.java     # GalleryCheck, a row at a time
 build.gradle                  # libworks-runtime 0.1.8 → 0.1.9

Scenes use water and lava, since Pipeworks registers no fluid. Every source is walled in glass, and the clear fills structure_void before air, so no fluid survives a rebuild. Rows of three, not one row: this follows 5thlayer/factoryworks#691's dev-client findings, so pumps stay within simulation distance. GalleryCheck.builds lays one row only, so the test calls its parts per row (5thlayer/libworks#31 to fold rows in).

The README also says tanks that touch share their contents. Rendering them as one is #27.

Evidence

  • Before: no gallery pack; /function pipeworks:gallery/build is unknown.
    After: runGameTestServer passes in full, including:
    • gallery_builds_a_scene_of_each_feature: the pack is offered and off, the build runs with no failing command, and each scene's key block stands.
    • gallery_outlet_scene_sets_its_water_down: the Pump fills the run, and the Outlet sets a water source in its basin.
    • gallery_scenes_sign_clicked_builds_the_scene_again: clicking a sign rebuilds the scene and leaves nothing loose.
  • The scenes were looked at in the dev client.

Merge Danger

Door: two-way

Blast Radius: small

The pack is off unless a player turns it on, and it adds no recipes, loot or worldgen. The nested libworks-runtime moves to 0.1.9, which every Module nesting it gets through FML's newest-in-range pick.

Closes #26

🤖 Generated with Claude Code

adamico and others added 7 commits October 16, 2026 11:56
Pipeworks Gallery, off by default, builds nine scenes in rows of three,
each with a sign that rebuilds it when clicked. Its game tests run
libworks' GalleryCheck a row at a time, and check the Outlet scene's water
and a sign's replay. Takes libworks-runtime 0.1.9 for GalleryPack.

Closes #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…scene's tank visibly

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tank level sign

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…scene

The gallery tests build on the same plots, so in one batch the full
build's clear wiped the Outlet scene before its water came. Each now runs
alone, as Voidworks' do. Adds a test that the Pump scene leaves its water
and takes its lava, and tidies GalleryTests from review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The runner's clear sets blocks with no removal, which left the build
test's pipes and tanks in the saved segments, so the Pump scene's lava run
joined their water and its Pump never took the lava. Also checks the water
Pump fills its tank, and tidies the tests from review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamico
adamico merged commit 846caf8 into main Oct 16, 2026
4 checks passed
@adamico
adamico deleted the gallery-pack branch October 16, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gallery pack

1 participant