Commit Graph

211 Commits

Author SHA1 Message Date
Ludovic Marie 6907d9cdf8 Merge vanilla feature algorithms into chunk decoration
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 01:45:06 +02:00
Ludovic Marie feb53b02f0 Add mobs: spawning, AI, combat, drops, arrows and explosions
Mob types use vanilla's exported dimensions and default attributes and
its baked LayerDefinitions models with walk/arm/swell animations.
Creature packs spawn at chunk generation from biome spawn lists and
monsters spawn in the dark near the player with vanilla's light checks.
Passive mobs stroll, look and panic; zombies, spiders and creepers chase
(creepers swell and explode with the ray-based vanilla explosion);
skeletons shoot arrows. Player melee uses the attack-strength charge,
crits and knockback; deaths drop from entity loot tables.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 00:37:52 +02:00
Ludovic Marie 6b2c4325ea Add tree/spike unit tests and harness hooks for sculk and gateways
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>
2026-10-08 00:23:15 +02:00
Ludovic Marie 22a751f698 Play on vanilla-generated terrain with a land spawn search
Wire the vanilla overworld generator (noise, aquifers, surface, carvers and
implemented placed features) into chunk streaming. Search outward in a
spiral for a solid, dry surface to spawn on, as vanilla avoids ocean spawns.
Give entity-dependent collision queries the defaults for players and mobs,
load only JSON recipes, and export entity types/attributes for mobs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 00:14:22 +02:00
Ludovic Marie df8d9d7184 WIP: checkpoint remaining interrupted agent changes
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 23:30:48 +02:00
Ludovic Marie 3777c9009b WIP: playable client — streaming world, lighting, HUD, crafting, saves, audio, items
Checkpoint of the playable client rewrite before build verification.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 23:24:14 +02:00
Ludovic Marie 254dda89a3 Port speleothem cluster and large dripstone; widen feature parity corpus
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>
2026-10-07 20:24:16 +02:00
Ludovic Marie 03d32fc788 Add tree, fallen-tree and ore differential parity harness
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>
2026-10-07 20:04:57 +02:00
Ludovic Marie 5799bc6dc6 Load every vanilla block model and export gameplay facts
Model catalog now binds all registered blockstates. Sprites accept
fractional alpha, interpolated animations and non-16px frames
(resampled into the shared 16px array). Resource preparation extracts
every jar asset and data file, exports per-state light/hardness/sound
facts through a vanilla exporter, and bundles item default components
from vanilla's data generator reports.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 18:52:46 +02:00
Ludovic Marie 082cbb4077 Apply pending player attribute callbacks during resident simulation
Refresh scale dimensions and clamp health and absorption after movement, preserving native callback order and queued synchronization. Replay per-reference JVM identities in the scene comparison and cover changing limits, modifiers and low tunnels. Waypoint callbacks remain explicit requests for the future manager runtime.
2026-10-07 18:27:58 +02:00
Ludovic Marie 4e01780255 Validate resident crouching, pose dimensions and ledge backoff
Connect Shift input timing, dry pose fit, movement slowdown and eye height to the resident walking scene. Compare exact evolving state against pinned native client/server methods and record Linux window validation. Full gameplay and release acceptance remain unfinished.
2026-10-07 18:15:56 +02:00
Ludovic Marie 20714b5d77 Checkpoint resident crouching and pose integration in progress
Back up the current Rust pose, collision, ledge and native oracle work before further integration. This is a work-in-progress checkpoint: probe output, camera integration and differential validation are still pending; full vanilla parity is not claimed.
2026-10-07 18:08:04 +02:00
Ludovic Marie 24ce21abee Connect native-validated sprint input to resident movement and hunger 2026-10-07 17:55:29 +02:00
Ludovic Marie ecb3ebfd34 Account for accepted movement distance in resident player hunger 2026-10-07 17:29:13 +02:00
Ludovic Marie 3403705c74 Bind resident player hunger, regeneration and starvation to live health 2026-10-07 17:14:57 +02:00
Ludovic Marie c82f0ee8be Apply native-validated landing damage to resident player health 2026-10-07 16:56:23 +02:00
Ludovic Marie 5eb1d61e3a Bind native landing and fall callbacks to the resident player scene 2026-10-07 16:20:23 +02:00
Ludovic Marie 59676c6e84 Connect native-validated player motion to fixed-rate walking controls 2026-10-07 15:45:47 +02:00
Ludovic Marie 40a9f04f42 Preserve attribute state during dry movement ticks 2026-10-07 15:30:41 +02:00
Ludovic Marie f44291e7a9 Checkpoint dry movement tick and native jump timing comparisons
Back up current movement composition work. Both reference JARs match 48,078 kinematic snapshots; full tick side effects and playable integration remain unfinished.
2026-10-07 15:26:00 +02:00
Ludovic Marie 405e174e64 Bind stored player motion to resident chunks and live attributes 2026-10-07 15:15:57 +02:00
Ludovic Marie c109f91cc5 Connect resident client chunks to native-validated world collisions 2026-10-07 14:42:44 +02:00
Ludovic Marie f249a55f35 Synchronize registered effect particles, invisibility and glowing state 2026-10-07 14:19:54 +02:00
Ludovic Marie 4a2fcedbd3 Bind registered attribute refresh to native entity update consequences 2026-10-07 13:51:15 +02:00
Ludovic Marie 2339ed4ccb Verify live registered attributes against both vanilla JARs 2026-10-07 13:22:28 +02:00
Ludovic Marie b70806176e Preserve attribute query fallback, caches and captured base reset targets 2026-10-07 12:53:20 +02:00
Ludovic Marie 55846d2fc0 Bind entity effect notifications to concrete attribute maps and queues 2026-10-07 12:38:24 +02:00
Ludovic Marie 76b3bdc237 Bind effect modifiers to lazy attribute instances and native dirty queues 2026-10-07 12:23:28 +02:00
Ludovic Marie 6a33b0c148 Match effect attribute templates and permanent modifier callback ordering 2026-10-07 12:07:19 +02:00
Ludovic Marie 11dda868af Validate live object-map entries and callback traversal against vanilla 2026-10-07 11:52:45 +02:00
Ludovic Marie 636f1648f0 Bind attribute refresh to health limits and waypoint update ordering 2026-10-07 11:39:35 +02:00
Ludovic Marie a772a69498 Match effect eligibility and attribute/passenger notification ordering 2026-10-07 11:31:39 +02:00
Ludovic Marie f9d8277b73 Preserve fastutil attribute-set storage and live iterator behavior 2026-10-07 11:19:02 +02:00
Ludovic Marie 05cdc7573a Integrate entity effect ticking, expiration and client particles 2026-10-07 11:09:59 +02:00
Ludovic Marie 32c53db88a Bind consumable effects to shared entity status storage 2026-10-07 11:01:50 +02:00
Ludovic Marie 09f4c72dcb Match active status effect storage and lifecycle notifications 2026-10-07 10:56:23 +02:00
Ludovic Marie 194db0dbb4 Match identity-key hash maps and native map-copy iteration order 2026-10-07 10:43:55 +02:00
Ludovic Marie aad69bc4f3 Match status effect countdown, hidden restoration and client blending 2026-10-07 10:32:07 +02:00
Ludovic Marie 9bb87815a1 Match random teleport consumable attempts and success effects 2026-10-07 10:23:21 +02:00
Ludovic Marie 63e687f610 Implement status and sound consume effects with native instance copies 2026-10-07 10:16:26 +02:00
Ludovic Marie 31261290a6 Add shared status effect instances and native hidden-chain updates 2026-10-07 10:08:55 +02:00
Ludovic Marie 85923d20af Compose consumable start and completion with food and particle behavior 2026-10-07 09:58:37 +02:00
Ludovic Marie 9c14d22bc9 Compose consumable timing and sounds with native eating particles 2026-10-07 09:53:21 +02:00
Ludovic Marie faaa25cd1b Match eating particle snapshots and native random draw ordering 2026-10-07 09:49:49 +02:00
Ludovic Marie 7b915f8689 Implement food consumption listener with native sound and hunger ordering 2026-10-07 09:42:53 +02:00
Ludovic Marie fda79cc3db Deliver consumed item remainders through player inventory pickup 2026-10-07 09:31:23 +02:00
Ludovic Marie 0c85e0f5c2 Compose item completion with validated remainders and cooldowns 2026-10-07 09:25:56 +02:00
Ludovic Marie af42edd017 Implement item cooldown storage, expiry callbacks and use application 2026-10-07 09:17:20 +02:00
Ludovic Marie 118e93ea51 Preserve native hash-map order for simulation callback storage 2026-10-07 09:09:41 +02:00
Ludovic Marie 12b61234b1 Implement checked bundle weights and contained item validation 2026-10-07 08:59:07 +02:00