{"slug": "show-hn-sightbuild-a-client-side-minecraft-mod-for-survival-build-blueprints", "title": "Show HN: Sightbuild, a client-side Minecraft mod for survival build blueprints", "summary": "Developer mylom01 released Sightbuild 0.1.4, a 100% client-side Minecraft 26.3 Fabric mod that raycasts up to 48 blocks from the player's crosshair, scans a 15x15 terrain and water map plus the survival inventory, and streams an architectural JSON plan from Anthropic's Messages API to render a color-coded ghost-block blueprint hologram in survival mode. The mod requires Fabric Loader >=0.20.1, Java 25+, and a user-supplied Anthropic API key, and caps builds at 16 to 4096 blocks with a default of 1024. Its core planner (BuildContext, BuildPlan, ClaudeBuildClient) is pure Java with no Minecraft runtime dependency, so build quality can be benchmarked offline without launching the game.", "body_md": "A **100% client-side Minecraft 26.3 Fabric mod** that looks at where you're aiming, scans the terrain and riverbed depth around it, reads your survival inventory, and projects a custom build blueprint hologram right onto that spot using Claude.\n\nNo server-side mod, no OP permissions, and no cheating blocks in during survival.\n\nCheck me out on X [@mylom01](https://x.com/mylom01).\n\n| Cottage Blueprint (Headless Render) | Stone & Timber Bridge (Headless Render) | \n|---|---|\n\n1. **Aim at a spot** (a cliffside, river channel, meadow, or beach) and run`/sightbuild <prompt>` (for example,`/sightbuild tower` or`/sightbuild bridge` ).\n2. **Client-side context capture:**  - Raycasts up to 48 blocks from your crosshair to pick the build anchor.\n  - Scans a 15x15 2D terrain & water map, relative heightmap, riverbed depth, biome, and nearby player-built blocks.\n  - Captures a downscaled first-person screenshot (toggleable) so Claude can see the actual surroundings.\n  - Scans your survival inventory for exact `{block_id: count}` plus easily craftable variants (planks, stairs, slabs, fences, doors, ladders, crafting tables, chests, furnaces).\n3. **Live streaming & hologram:**  - Streams a compact architectural JSON plan from Anthropic's Messages API (`stream: true` ) with live progress in the top-left HUD.\n  - Compiles architectural primitives (`box` ,`walls` ,`pillars` ,`gable_roof` with two-tone trim and upside-down eave stairs,`lean_to_roof` ,`cylinder` ,`line` ,`set` , and deterministic`mix(...)` block texturing) into world-anchored block states.\n  - Renders a color-coded ghost-block hologram in survival:\n    - **Cyan:** block is in your inventory\n    - **Amber:** need to gather or craft\n    - **Red:** wrong block currently at that position\n    - **Hidden:** already placed correctly\n4. Streams a compact architectural JSON plan from Anthropic's Messages API (\n\n- **Minecraft:**`26.3`\n- **Mod Loader:** Fabric Loader`>=0.20.1` + Fabric API (`26.3` )\n- **Java:**`25+`\n- **API Key:** Bring your own Anthropic API key (configured via`/sightbuild apikey <key>` or`ANTHROPIC_API_KEY` env var).\n\n1. Download `sightbuild-0.1.4.jar` from[Releases](https://github.com/Milopadma/sightbuild/releases) (or build from source below).\n2. Drop the `.jar` into your Fabric 26.3`mods/` folder.\n3. Launch Minecraft and run `/sightbuild apikey <your-anthropic-key>` (saved locally to`config/sightbuild.json` ).\n  - Want to test the hologram offline without an API key first? Run `/sightbuild demo` .\n4. Want to test the hologram offline without an API key first? Run \n\n| Command | What it does | \n|---|---|\n| `/sightbuild <prompt>` | Scans sight, terrain, and inventory, then generates a blueprint with Claude | \n| `/sightbuild build` | **Creative mode only:** instantly places the active blueprint into the world | \n| `/sightbuild status` | Prints build progress and remaining materials vs. your inventory | \n| `/sightbuild inspect` | Dry-run that prints the captured anchor, biome, and inventory blocks | \n| `/sightbuild demo` | Offline slope-adapted shelter using your current inventory (no API key needed) | \n| `/sightbuild clear` | Clears the active ghost-block hologram | \n| `/sightbuild apikey <key>` | Saves your Anthropic API key to `config/sightbuild.json` | \n| `/sightbuild model <id>` | Switches Claude model (e.g. `claude-opus-5-5` ,`claude-sonnet-4-20250514` ) | \n| `/sightbuild vision <on\\|off>` | Toggles sending a first-person screenshot alongside terrain/inventory data | \n| `/sightbuild maxblocks <n>` | Sets maximum block budget (16 to 4096, default 1024) | \n\n```\n# Run offline unit tests and build the mod JAR\n./gradlew test build\n# or with system Gradle + Java 25+:\ngradle test build --no-daemon\n```\n\nThe built JAR is written to `build/libs/sightbuild-<version>.jar`.\n\nThe core planner (`BuildContext`, `BuildPlan`, `ClaudeBuildClient`) is 100% pure Java with zero Minecraft runtime dependency, so you can benchmark and hillclimb build quality offline without launching Minecraft:\n\n```\n# Fast offline unit tests (26 tests, including scorer & primitive tests)\ngradle test --no-daemon\n\n# Run live multi-scenario eval against your configured Claude model\ngradle runEval -PevalArgs=\"--run-id my-run --samples 3\" --no-daemon\n\n# Re-score a saved eval run offline\ngradle runEval -PevalArgs=\"--rescore my-run --out my-run-rescored\" --no-daemon\n```\n\nThe eval harness scores builds across 8 synthetic scenarios (N-S and E-W rivers, sloping beach, steep cliff, tight survival inventory, neighboring house, medieval cottage + turret, stone-timber bridge) on structural validity, grounding, bridge shore-to-shore crossing, interior walkability, survival budget compliance, and architectural craft (asymmetrical compound massing, block texturing, and micro-details), and renders isometric PNG previews to `eval-output/`.\n\nMIT. See [LICENSE](https://github.com/Milopadma/sightbuild/blob/main/LICENSE).", "url": "https://wpnews.pro/news/show-hn-sightbuild-a-client-side-minecraft-mod-for-survival-build-blueprints", "canonical_source": "https://github.com/Milopadma/sightbuild", "published_at": "2026-11-29 16:36:22+00:00", "updated_at": "2026-11-29 16:44:22.308425+00:00", "lang": "en", "topics": ["ai-products", "ai-tools", "generative-ai", "large-language-models", "developer-tools"], "entities": ["Sightbuild", "Minecraft", "Fabric", "Anthropic", "Claude", "mylom01", "Messages API", "Java"], "also_reported_by": [], "takeaway": "Sightbuild 0.1.4 keeps its planner (BuildContext, BuildPlan, ClaudeBuildClient) in pure Java with zero Minecraft runtime dependency, letting developers benchmark and hillclimb blueprint quality offline before launching the game.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-sightbuild-a-client-side-minecraft-mod-for-survival-build-blueprints", "markdown": "https://wpnews.pro/news/show-hn-sightbuild-a-client-side-minecraft-mod-for-survival-build-blueprints.md", "text": "https://wpnews.pro/news/show-hn-sightbuild-a-client-side-minecraft-mod-for-survival-build-blueprints.txt", "jsonld": "https://wpnews.pro/news/show-hn-sightbuild-a-client-side-minecraft-mod-for-survival-build-blueprints.jsonld"}}