Commit Graph

12 Commits

Author SHA1 Message Date
Ludovic Marie 6734879ff7 Pass rustfmt and clippy after merging the parity branches
Formats the overnight parity work, fixes the lints it introduced, and
updates the LAN bot test and mob AI probe for fields added on the other
side of the merges (the bot test also set a field that never existed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 14:11:51 +02:00
Ludovic Marie fc468a021d Resolve item models exactly as the vanilla client does
The item model harness ran out of memory, so it now streams both outputs and
looks Horizon's rows up by offset. With the vanilla side no longer crashing on
swap-animation lookups (properties now come from the baked set), on armour
(trim sprites are generated by the items atlas's paletted_permutations source
once SpriteSources is bootstrapped) or on compasses (item tags are bound from
the data pack), 197,000 more stacks were compared and 121,841 differed.

Horizon now composes transformations as JOML 1.10.9 does: rotationXYZ and
axis-angle quaternions with cosFromSin, and Matrix4f operations that take the
identity, translation, affine or generic path by matrix properties, with
unfused a * b + c. Float RGB tint constants are scaled by 255, the shulker box
renderer always encodes its texture, and a new palette module ports
PalettedPermutations and PaletteMapping so trim sprites exist on the Horizon
side too.

196,290 resolved stacks match; 2,582 cases are still rejected by vanilla's
stand-in client and not compared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 21:21:50 +02:00
Ludovic Marie 302d96eeb1 Fix clippy findings in item models and pack mirroring
Rewrote a negated float comparison in the compass wobble check, merged two identical branches in the pack overlay mirroring, and replaced the empty item model test stub with small unit tests so the workspace passes clippy and tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-10 06:58:17 +02:00
Ludovic Marie 62fe8a4465 Add item model definitions, baking and parity harness (WIP)
Work in progress on vanilla's item model pipeline in horizon-assets: definition parsing, resolution, generated model baking, special renderers and a differential harness against a Java oracle.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-10 03:49:13 +02:00
Ludovic Marie 90a76bc0aa Match vanilla blockstate transforms and UV-locked baking 2026-10-06 21:49:27 +02:00
Ludovic Marie f286aa24e1 Match weighted model choice and multipart random consumption 2026-10-06 21:31:55 +02:00
Ludovic Marie 1d0b537a0a Bind vanilla blockstate selectors and multipart model parts 2026-10-06 21:26:47 +02:00
Ludovic Marie 54a2b552ee Decode vanilla blockstate variants and multipart conditions 2026-10-06 21:16:15 +02:00
Ludovic Marie 81ea783e35 Match vanilla sprite animation metadata and tick selection 2026-10-06 21:05:55 +02:00
Ludovic Marie 8c7d8f6416 Bake vanilla cuboid geometry with native float-bit validation 2026-10-06 20:30:09 +02:00
Ludovic Marie f0a03aea52 Resolve vanilla model inheritance and texture aliases 2026-10-06 20:17:53 +02:00
Ludovic Marie 9dbd93192f Decode pinned cuboid models and verify native client semantics 2026-10-06 20:10:30 +02:00