PlaceContext resolves the replaced position as BlockPlaceContext does
(canBeReplaced per class, nearest looking directions), place_block runs
BlockItem.place with standing/wall and double-high items and setPlacedBy,
and use_without_item covers doors, trapdoors, gates, buttons, levers,
diodes, note blocks, cakes, composters, berries, pots, beds and menus.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Mth.normal sampling with float clamping and a saturating int cast, as used
by the pointed dripstone and sulfur spike placement offsets.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Behaviours loads per-block class chains, instance configuration and per-state
support/signal/fluid facts exported by VanillaBlockBehaviourExporter, and ports
Level.setBlock with the CollectingNeighborUpdater, updateShape for every
overriding class, canSurvive, FlowingFluid spreading with lava/water
interactions, gravity blocks, rails, tripwires, redstone wire/torches/diodes,
scheduled ticks and random ticks.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Merge worktree-agent-a8b4c3c64b61988c7 (trees, ores, vegetation, lakes,
geodes, dungeons, icebergs, dripstone, fungus, end spikes). The decoration
world now supplies the world seed, the write-zone check, raw section
writes for bulk ore placement and full-block collision tests.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Unit tests pin Java HashSet bucket iteration, Fisher-Yates draw order and
the seed-derived End spike layout. The oracle ignores sounds, level
events and entity queries; the Rust fixture accepts end-gateway
configuration; FEATURE_FILTER limits a rerun to matching features.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Load Java-exported block properties, face support, collision and survival
rules from the worldgen bundle's blocks/ directory (copied there by
prepare_native_client.py) and bind them with the state-provider catalog,
so simple-block, patch and vegetation features decode and run. The
decoration world answers survival, sturdy-face, collision and attachment
queries, draws WorldGenRegion's positioned level random, and treats the
entity-free, unlit proto region as unobstructed with zero light.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
minecraft:end_spike reproduces SpikeCacheLoader (seed-keyed shuffled
sizes), obsidian columns, iron-bar cages, the crystal's yaw draw, bedrock
and fire; the crystal entity is handed to a new spawn_end_crystal world
hook.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Adds minecraft:speleothem_cluster (Column scans, pools, merged tips) and
minecraft:large_dripstone (wind offsets, base embedding, height curve).
The differential harness now resolves named features and placed features
lazily on the Java side, logs dungeon loot/spawner block entities, uses
the world seed and survival rules, and exercises every other configured
feature over surface, cave, flooded-cave, ocean and nether worlds.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
RandomSource gains next_gaussian with per-source cached second values,
reset by set_seed for the legacy and Xoroshiro sources as in vanilla.
The WorldgenRandom adapter keeps its own cache that native setSeed does
not reset. FloatProvider decodes and samples minecraft:clamped_normal.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Adds minecraft:vegetation_patch and waterlogged_vegetation_patch (native
HashSet surface order), coral_tree/coral_claw over nested placed
features, huge_red/brown_mushroom, multiface_growth (glow lichen and
sculk vein spreaders), lake, monster_room (chest reorientation, loot
seed and spawner entity hooks), geode (seeded parity noise via a new
world-seed query), iceberg and root_system. Catalog expansion resolves
their nested placed-feature holders.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Decodes every vanilla 26.3 tree, fallen_tree, ore and scattered_ore
configured feature from the authenticated JAR, places each with both
random kinds over layered synthetic worlds backed by native proto-chunk
sections, and compares ordered writes, beehive occupants, post-processing
marks, results, random tails and the final block diff with Rust.
First run: 2783 of 3018 fixtures identical; every ore fixture matches.
The remaining differences are StructureTemplate.updateShapeAtEdge
neighbor shape updates (faceless vines and unsupported plants beside the
tree), which the Rust world hook does not yet implement.
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>
Section palettes hash state IDs with a multiplicative hasher instead of
SipHash, and fill_noise skips heightmap updates at or below
first-available - 2, which are no-ops. Material-stage parity output is
byte-identical to vanilla.
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>
Preserve the in-progress registered attribute binding and its differential fixture. Library and example Clippy pass; the dedicated vanilla differential gate is still pending.