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.

No server-side mod, no OP permissions, and no cheating blocks in during survival.

Check me out on X @mylom01.

| Cottage Blueprint (Headless Render) | Stone & Timber Bridge (Headless Render) | |---|---|

  1. Aim at a spot (a cliffside, river channel, meadow, or beach) and run/sightbuild <prompt> (for example,/sightbuild tower or/sightbuild bridge ).
  2. Client-side context capture: - Raycasts up to 48 blocks from your crosshair to pick the build anchor.
  • Scans a 15x15 2D terrain & water map, relative heightmap, riverbed depth, biome, and nearby player-built blocks.
  • Captures a downscaled first-person screenshot (toggleable) so Claude can see the actual surroundings.
  • Scans your survival inventory for exact {block_id: count} plus easily craftable variants (planks, stairs, slabs, fences, doors, ladders, crafting tables, chests, furnaces).
  1. Live streaming & hologram: - Streams a compact architectural JSON plan from Anthropic's Messages API (stream: true ) with live progress in the top-left HUD.
  • Compiles architectural primitives (box ,walls ,pillars ,gable_roof with two-tone trim and upside-down eave stairs,lean_to_roof ,cylinder ,line ,set , and deterministicmix(...) block texturing) into world-anchored block states.
  • Renders a color-coded ghost-block hologram in survival:
  • Cyan: block is in your inventory
  • Amber: need to gather or craft
  • Red: wrong block currently at that position
  • Hidden: already placed correctly
  1. Streams a compact architectural JSON plan from Anthropic's Messages API (
  • Minecraft:26.3
  • Mod Loader: Fabric Loader>=0.20.1 + Fabric API (26.3 )
  • Java:25+
  • API Key: Bring your own Anthropic API key (configured via/sightbuild apikey <key> orANTHROPIC_API_KEY env var).
  1. Download sightbuild-0.1.4.jar fromReleases (or build from source below).
  2. Drop the .jar into your Fabric 26.3mods/ folder.
  3. Launch Minecraft and run /sightbuild apikey <your-anthropic-key> (saved locally toconfig/sightbuild.json ).
  • Want to test the hologram offline without an API key first? Run /sightbuild demo .
  1. Want to test the hologram offline without an API key first? Run

| Command | What it does | |---|---| | /sightbuild <prompt> | Scans sight, terrain, and inventory, then generates a blueprint with Claude | | /sightbuild build | Creative mode only: instantly places the active blueprint into the world | | /sightbuild status | Prints build progress and remaining materials vs. your inventory | | /sightbuild inspect | Dry-run that prints the captured anchor, biome, and inventory blocks | | /sightbuild demo | Offline slope-adapted shelter using your current inventory (no API key needed) | | /sightbuild clear | Clears the active ghost-block hologram | | /sightbuild apikey <key> | Saves your Anthropic API key to config/sightbuild.json | | /sightbuild model <id> | Switches Claude model (e.g. claude-opus-5-5 ,claude-sonnet-4-20250514 ) | | /sightbuild vision <on\|off> | Toggles sending a first-person screenshot alongside terrain/inventory data | | /sightbuild maxblocks <n> | Sets maximum block budget (16 to 4096, default 1024) |

# Run offline unit tests and build the mod JAR
./gradlew test build
# or with system Gradle + Java 25+:
gradle test build --no-daemon

The built JAR is written to build/libs/sightbuild-<version>.jar.

The 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:

# Fast offline unit tests (26 tests, including scorer & primitive tests)
gradle test --no-daemon

# Run live multi-scenario eval against your configured Claude model
gradle runEval -PevalArgs="--run-id my-run --samples 3" --no-daemon

# Re-score a saved eval run offline
gradle runEval -PevalArgs="--rescore my-run --out my-run-rescored" --no-daemon

The 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/.

MIT. See LICENSE.

原文来源:github.com