A newer version of the Gradio SDK is available: 6.22.0
DreamWall AfterBlock Paper Bridge
This is the Minecraft server bridge for DreamWall: AfterBlock Museum.
The hackathon Space is the official submission surface. This plugin scaffold is the live-demo layer: it connects a Paper server to the Space API and prepares the path for placing generated wall art inside Minecraft.
Current Demo Behavior
/dreamwallshows the configured Space endpoint./dreamwall fetchcalls the Space app domain and confirms the bridge can reach Hugging Face./dreamwall packasks the player client to load the Hugging Face-hostedAfterBlockMuseum.zipresource pack./dreamwall demoplaces a safe local pedestal proof, spawns anItemDisplayrelic, engraves the name/caption in-world, adds a lectern passport book and profile button, and gives the player a Paper item withCustomModelData 730002./dreamwall importcalls the livequick_curateGradio endpoint, parses the returneddreamwall.museum.v1packet, places a packet-derived pedestal/ItemDisplay/engraved nameplate/lectern passport/profile button/item at the artifact coordinates, marks the living entry atlas, paints a lit route fromYOU ARE HEREto that plot, and gives the player a route compass./dreamwall import object | story | @ownerlets a visitor paste the command generated by the Hugging Face Space so their own object, story, and signature are imported without server-owner config changes./dreamwall import hereuses the same live packet but places it two blocks in front of the player for fast video proof./dreamwall museum whereprints the coordinate contract used by the Space and server./dreamwall museum buildcreates the 12 x 12 living museum campus at the configured origin, with plot pads, memory rails, hall gates, banner markers, a physical entry atlas, and aYOU ARE HEREentry./dreamwall museum checkverifies that all 144 plot pads, relic focus blocks, the entry beacon, and the living entry atlas exist in the current world.- A scheduled task can be extended to poll approved museum artifacts.
- The Space now emits
dreamwall.museum.v1, the main AfterBlock packet for the hackathon demo. - The Space also emits
living_canvas.mc.v1for the secondary wall/canvas mode.
Planned Placement Behavior
The main Space endpoint is quick_curate, which emits dreamwall.museum.v1 with:
- artifact title
- owner handle
- hall and zone
- plot and coordinates
- block palette/materials
- plaque text
- spirit first line
- passport QR payload
- curation scores
- resonance links
Implemented /dreamwall import V1 behavior:
- Fetch latest artifact packet.
- Place pedestal/sign/painting marker at coordinates.
- Display plaque line and owner handle.
- Place a written-book passport on a lectern so visitors can open the relic profile/history in Minecraft.
- Mark the entry atlas and paint a lit route from the entry beacon to the generated plot.
- Set the player's compass target and give a named route compass for the relic.
- Optionally create particles or a simple animation based on artifact type.
The legacy generate_art endpoint emits a dreamwall.mc.v1 JSON packet with:
job_idplayerpromptgallery_zoneoriginpaletteplotmarketgrid.row_runs- WorldEdit preview lines
The secondary canvas path uses living_canvas.mc.v1 from the living_canvas endpoint:
tile_size_blocks:32 x 32canvas_size_tiles:12 x 12minecraft_wall_size_blocks:384 x 384tiles[].minecraft_origintiles[].minecraft_boundstiles[].stagetiles[].weatherfusion_linksevolution_eventsminecraft_animation_plan
The plugin should treat each tile as a stable wall address. Motion comes from particles, map updates, or block-frame updates, not from moving the artifact to a new plot.
The next plugin step is converting grid.row_runs into wall block placement:
origin + (x, -y, 0) -> block
The Space also emits a neuropets.mc.v1 packet from the hatch_pet endpoint. The server can use it to create:
- named creature sign
- armor stand / mob placeholder
- habitat marker
- particle effect
- leaderboard entry
For the hackathon video, the safest route is:
- Run AfterBlock Museum in the Space.
- Copy the
dreamwall.museum.v1packet or call the Gradio API. - Place one artifact pedestal/sign at
museum.coordinates. - Add signs for owner, title, hall, plaque, and spirit first line.
- Use particles around the pedestal for the artifact spirit.
- Walk through the museum gallery.
Flat World Canvas
Recommended V1 canvas:
- Flat Paper world
12 x 12plots32 x 32blocks per plot- Canvas origin:
-192, 80, -192 - Use signs or floating text later for creator, prompt, value, and fusion history.
The Space assigns the plot. The plugin should trust the packet and place the mural at:
canvas_origin + plot.x * plot_size, y=80, canvas_origin_z + plot.z * plot_size
For living_canvas.mc.v1, the packet already includes tiles[].minecraft_origin, so the plugin can skip recomputing the address.
Build
GitHub Actions builds the jar through .github/workflows/build-plugin.yml.
Local build, if Maven is installed:
mvn package
The jar will be in target/dreamwall-paper-bridge-0.1.0.jar.
Install
- Stop the PebbleHost Paper server.
- Upload the jar to
plugins/. - Upload or link the
resource-pack/AfterBlockMuseum/zip as a server resource pack if you want custom item rendering. The default config can also request the Hugging Face-hosted pack with/dreamwall pack. - Start the server.
- Edit
plugins/DreamWall/config.ymlif needed. - Run
/dreamwall fetchin game or console. - Run
/dreamwall packin game and accept the resource pack. - Run
/dreamwall museum buildonce to create the coordinate-accurate museum campus and physical entry atlas. - Run
/dreamwall museum checkto confirm the built world matches the Space coordinate map and atlas contract. - Run
/dreamwall demoin game to place a pedestal proof, visibleItemDisplay, engraved name/caption, lectern passport, profile button, and receive the AirPods demo item. - Run
/dreamwall import object | story | @ownerfrom the Space to place a live Hugging Face artifact packet at its generated plot, update the route trail, receive the route compass, and right-click the profile button for the relic history, or/dreamwall import here object | story | @ownerfor a nearby proof.
Local Server Proof
Codex verified the plugin in a temporary Paper server:
Paper 1.21.4 build 232
Java Temurin 21.0.11
commands: dreamwall, dreamwall fetch, dreamwall pack, stop
Proof artifact:
artifacts/stress/paper_plugin_local_load_test.json