Oracles reference shared helper oracles (heightmap, level shape...) that
javac could not find when only the entry files were listed. Also let
chunkgen_bench list unsupported features (HORIZON_LIST_UNSUPPORTED=1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve the places where union merges kept both sides: the persist
rewrite of level.dat now carries item components, XP seed and effects;
mob ticking uses the creatures module (with Thorns); explosions damage
mobs through the new damage source and emit particles; TNT's white
flash moves to overlay 5 since clouds use 4; End gateway data follows
the new dimensions/ folder layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Chests, trapped chests and barrels written by world generation become
client containers; their loot tables are unpacked with the loot module
using the generated LootTableSeed and the container's biome. chunkgen_bench
can list generated block entities (HORIZON_BLOCK_ENTITIES).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port NetherFortressPieces (bridge and castle piece weights, children,
moveInsideHeights, chests and the blaze spawner) and NetherFossilStructure
(noise-column floor search, template piece with the dried ghast). The
structure-start oracle and chunkgen_bench take a dimension; seeds 1 and
12345 match vanilla on 5024 of 5025 Nether starts over 301x301 chunks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Port StructurePiece's orientation frame and block helpers, template pieces
with data markers, chest/dispenser loot block entities and the five
smaller legacy structures. Structure stubs use the chunk middle (block 8).
For seed 0 over 97x97 chunks all 35 starts of implemented structure types
match the vanilla oracle (pieces, boxes, positions).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Templates store palette states as id/properties; reading only Name made
every template block air. Add a vanilla oracle (structure placement, start
selection and Structure.generate over a chunk rectangle), a bench mode
dumping Rust starts in the same format, and a comparison script. For seed
0 over 97x97 chunks all 15 jigsaw starts (villages, trial chambers, trail
ruins, abandoned camps) match vanilla piece for piece.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Port structure sets (random spread with frequency reducers and exclusion
zones), vanilla start selection, JigsawPlacement (pool aliases, shuffled
jigsaws by selection priority, placement-priority queue, free-space
checks, expansion hack, rigid/terrain-matching junctions) and pool
element placement. Proto generation computes per-chunk references within
8 chunks and feeds the beardifier into the noise fill; FEATURES places
referenced starts per decoration step before that step's features.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Resolve each possible biome's placed features in vanilla encounter order
into a FeatureDecorationPlan and run FEATURES over a 3x3 neighborhood
through a WorldGenRegion-style adapter (write radius, zoomed biomes,
biome filters, freeze/snow weather). Roots whose algorithm or bindings
are missing are skipped and reported. Add worker stage timings, CPU-time
reporting in the bench, and a parameter-report quantization test.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
GeneratorData loads a worldgen bundle (written by prepare_native_client.py
to the client resource dir) once; OverworldGenerator binds a seed and shares
compiled samplers across threads; GeneratorWorker generates vanilla
BIOMES..TERRAIN proto chunks (noise fill with aquifers, material surface,
carvers) that match the material-stage parity dumps. Decoration is stubbed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>