Commit Graph

3 Commits

Author SHA1 Message Date
Ludovic Marie 488f8bd030 Make clippy pass with -D warnings
Apply clippy's fixes, fix the remaining lints by hand and allow, for the
whole workspace, the lints that one-to-one ports of vanilla's Java
naturally trip (argument counts, index loops, nested types, large enum
variants).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:32:50 +02:00
Ludovic Marie 63c5ba018d Add the End to the client: portals, gateways, exit portal and sky
- Dim::End (DIM1 region folder, End environment attributes, sky light).
- Eyes of ender fill End portal frames; a complete ring of twelve
  (EndPortalFrameBlock portal shape) lights the 3x3 End portal.
- End portals travel to the End (obsidian platform at 100 49 0, facing
  west) and back to the world spawn; dying in the End respawns in the
  Overworld.
- Without the ender dragon the fight counts as won: the active exit
  portal (EndPodiumFeature) and the first gateway of the seed's
  shuffled ring are placed once the main island is loaded.
- End gateways: TheEndGatewayBlockEntity exit search (chunk scan,
  findValidSpawnInChunk, END_ISLAND fallback, findTallestBlock), exit
  gateways linked both ways and kept in DIM1/horizon-end-gateways.json;
  worldgen return gateways lead exactly to the End spawn.
- End sky box (end_sky.png tiled, 0x282828), End portal and gateway
  surfaces and the spike End crystals (EndCrystalModel animation).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 15:30:47 +02:00
Ludovic Marie b1e7217441 Add vanilla world diff tool and End gateway block entities in decoration
vanilla_diff compares Rust-decorated chunks with region files of a vanilla
world generated for the same seed; chunkgen_bench takes --dimension.
configure_end_gateway stores the exit of end_gateway_return gateways instead
of failing the feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 15:03:50 +02:00