Commit Graph

964 Commits

Author SHA1 Message Date
Ludovic Marie 2db50eeca1 Merge branch 'parity-base' into parity/old-saves 2026-10-13 03:27:26 +02:00
Ludovic Marie 3d20af9a9c Datafix: every server fix ported; saves without a DataVersion upgrade from -1 2026-10-13 03:27:20 +02:00
Ludovic Marie 1ded8799fc Merge branch 'parity/spawn-gear' into parity-base 2026-10-13 03:18:39 +02:00
Ludovic Marie 8c818c6f84 1.8.9 world: real maps by right click, objectives its scoreboard knows
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 03:17:12 +02:00
Ludovic Marie 991df3d23c Merge remote-tracking branch 'origin/parity/old-saves' into parity/old-saves-flat 2026-10-13 03:13:32 +02:00
Ludovic Marie 19802a4a65 Keep what the schema of the data did not know untyped, read the legacy data again at 1.14
DataFixerUpper reads the data once with its own schema: an entity tree of an id that
schema lacks stays untyped for good, and a list of trees is typed only if all of them
are. Spawner potentials follow that, the spawner wrapping skips untyped data, and a stack
without a string id is an empty equipment slot. The raw maps entities remember are taken
again where the fixes of before 1.14 end.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 03:13:32 +02:00
Ludovic Marie 8dc1859369 Merge branch 'parity-base' into parity/spawn-gear
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 03:02:28 +02:00
Ludovic Marie b8ee0b27b3 Datafix harness: pre-1.17 worlds in worlds-pre-1.17, which other worktrees' harnesses do not read 2026-10-13 02:54:04 +02:00
Ludovic Marie 1705653912 Datafix harness: worlds saved before 1.17 stay in the branch's own .local until integrated 2026-10-13 02:53:54 +02:00
Ludovic Marie 360ddcbdba Merge branch 'parity/villager-social' into parity-base 2026-10-13 02:53:42 +02:00
Ludovic Marie e4f4f57e9b Merge branch 'parity/render-distance' into parity-base 2026-10-13 02:53:42 +02:00
Ludovic Marie b7aa3b0d07 1.10.2 world: no thrown potions or 1.8 zombie villagers (vanilla fixes cannot handle them)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 02:44:39 +02:00
Ludovic Marie c46ac98b1a Port the fixes of 1.9 to 1.12 (keys 100 to 820) and read names and arrays like DataFixerUpper
Entity, block entity and item schemas below 1.11 (CamelCase ids, Equipment, Riding,
numeric item ids), their read hooks, and the fixes: equipment, item ids, potions, spawn
eggs, spawners, minecarts, UUIDs, health, saddles, paintings, riding, signs and books,
the 1.10 splits, id namespacing, banners, shulkers, totems. 1.11.2 passes the bands
1343 and 1631.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 02:33:59 +02:00
Ludovic Marie 43155d7822 Sample world for 1.11.2, and 1.8.9 to 1.10.2 in the version list
datafix_scene_12.py builds one scene for 1.8 to 1.12 from per-era tables (blocks, entity ids and merged types, riding, equipment, potions, items probed on the server, achievements by command instead of advancements).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 02:32:43 +02:00
Ludovic Marie ba20b8eb29 Port the fixes of 1.11.2 to 1.12 (keys 1022 and 1125): shoulder entities, bed block entities, bed item colour
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 02:05:39 +02:00
Ludovic Marie 1efc825a75 Merge parity/old-saves into parity/old-saves-flat
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 02:00:29 +02:00
Ludovic Marie 39cacbdf83 Rich 1.12.2 sample world and a flat one for the DataFixer harness
tools/datafix_scene_12.py builds it in 1.12 command syntax: the whole block id/data space, block entities, items, entities, player, scoreboard, advancements, maps and statistics (real ones from a bot, plus a few hand-written fixtures).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 01:59:37 +02:00
Ludovic Marie 7011c5cddd Merge branch 'parity/dedicated-server' into parity-base 2026-10-13 01:44:30 +02:00
Ludovic Marie 955f2be4ae Flattening fixes: numeric block names normalised by the chunk rewrite, unknown entities stay untyped, spawn egg default; band harness also upgrades the old saved data
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 01:26:43 +02:00
Ludovic Marie 7b55319171 lan_bot: the status description is a bare string, as vanilla writes it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 01:16:23 +02:00
Ludovic Marie 42cdea74be LAN discovery as vanilla's list keeps it; test_lan_parity against LanServerPinger and LanServerDetection
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 01:11:55 +02:00
Ludovic Marie de3a285cb3 Headless Horizon client joining a vanilla dedicated server, checked by the harness
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 01:07:19 +02:00
Ludovic Marie 6f84b9ae94 Harness names differing chunks; spawner update tags without keepPacked
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 01:02:14 +02:00
Ludovic Marie 5f5b6119d2 Spawner update tags in chunk packets; harness lists recipes and advancements as known gaps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:57:10 +02:00
Ludovic Marie 67caf1d2ab Datafix scene: boss bar, scoreboard, team and a trip to the nether and the end for worlds before 1.17 2026-10-13 00:54:43 +02:00
Ludovic Marie 4d62899a10 Harness: force-load the spawn area so both servers serve full chunks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:52:35 +02:00
Ludovic Marie 3f4c39b057 Satisfy clippy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:52:12 +02:00
Ludovic Marie 5ce4b9585d Satisfy clippy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:51:30 +02:00
Ludovic Marie 0425843aa8 Note finalizeSpawn's parity in the README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:50:50 +02:00
Ludovic Marie 389d2f9549 Adopt only villagers and creakings born during a mob_ai scenario
Animal babies and dropped items stay out of the comparison, as before the
merge: the probe does not model them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:50:18 +02:00
Ludovic Marie c8370d8e29 Merge branch 'parity/old-saves-flat' (1.12.2 to 1.13.2 fixes) 2026-10-13 00:48:14 +02:00
Ludovic Marie 1ea26de544 Match finalizeSpawn for every case of the harness
A zombie villager's profession comes from its constructor's random, not
the one finalizeSpawn draws from. Allays and withers are no longer marked
persistent to escape despawning: they are kept as removeWhenFarAway and the
wither's checkDespawn keep them, and canPickUpLoot follows the allay's and
the sulfur cube's overrides. A sulfur cube's size sets its attribute
bases, and strength and speed effects count in attribute values. The
oracle's stand-in level gets the sound seed random Level.playSound draws
from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:47:25 +02:00
Ludovic Marie 951b43daac Datafix worlds: world type variants for the level.dat generator settings 2026-10-13 00:46:45 +02:00
Ludovic Marie 89d5b27b4c Dedicated server: chunk centre in placeNewPlayer, first-tick entity data; harness normalises vanilla's run-to-run orders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:44:18 +02:00
Ludovic Marie 85e43462ac Block entity order as vanilla's chunk map iterates; chunk comparison without light values
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:37:51 +02:00
Ludovic Marie 7878013342 Merge parity-base into parity/spawn-gear
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:37:27 +02:00
Ludovic Marie 26462a168b Datafix worlds: 1.15.2 and 1.16.1; scene entries by save format 2026-10-13 00:36:05 +02:00
Ludovic Marie b5a6b6a99e Port LegacyStructureFileFix (1493) and run the file fixes of the range in the band harness
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 00:35:54 +02:00
Ludovic Marie 52a419ac31 Match villager births and footsteps on bed edges
The parent's half of VillagerMakeLove.tryToGiveBirth (eating, the child's
bed and type, resting) runs in its own tick, before it ages; the partner's
follows as an event. A baby's NearestBedSensor keeps its bed when the
reused path heads elsewhere, as vanilla checks for a POI there. Footsteps
come from the block under the feet (Entity.mainSupportingBlockPos), not
the column below the centre. The oracle faces newborns' heads with their
bodies (LivingEntity draws the head yaw from Math.random), and the breeding
scenarios leave one free bed per section (PoiManager hands them out in hash
order).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:35:40 +02:00
Ludovic Marie 7ede56b596 Dedicated server: vanilla console lines, player chat, /list, legacy ping, chunk tracking, heightmaps and light layers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:32:29 +02:00
Ludovic Marie 0e2fc82f4e Datafix: thrown potion item field; legacy scene additions for 1.13.2 to 1.15 2026-10-13 00:32:00 +02:00
Ludovic Marie 748a80fedd Port the DataFixers of 1.12.2 to 1.13.2 (keys 1450 to 1624): the flattening, renames, stats, leaves
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 00:31:05 +02:00
Ludovic Marie e0a025c5bd Compare villager gossip and breeding with vanilla
Gossip and gifts between villagers (TradeWithVillager) move into the
library so the mob_ai probe runs them as the game does; both villagers now
lock their gaze on each other, as lockGazeAndWalkToEachOther does. The
probe reads the oracle's villager flags, prints villager data (food,
inventory, gossip, reputation) and adds babies as they are born. The
oracle seeds TriggerGate's shuffles too, which were left to the clock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:27:35 +02:00
Ludovic Marie 8498688341 Datafix: 1.13 to 1.14 fixes (1800 to 1963); saved data may be plain NBT 2026-10-13 00:26:17 +02:00
Ludovic Marie 8c542c16bb Datafix: legacy dimension ids, world gen settings from legacy level data, biome renames, potion field 2026-10-13 00:19:32 +02:00
Ludovic Marie 8d16a937c5 Dedicated server: load the spawn area; vanilla-codec client harness
VanillaProtocolClient joins a server with vanilla's own codecs;
test_dedicated_server_parity.py compares a vanilla and a Horizon dedicated
server serving the same world.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:18:01 +02:00
Ludovic Marie b633047a55 Datafix: fixes 2100 to 2535 (UUIDs, wall/redstone properties, bit storage, furnace recipes, ...) 2026-10-13 00:14:19 +02:00
Ludovic Marie ad2758fc9c Merge parity-base into parity/villager-social
Keeps both sides' oracle scenarios: the creaking hearts, hurts, leads and
animal flags of parity-base on this branch's entity list, with a heart's
creakings adopted under their creation seed. Restores the villager meeting,
birth and golem-check events the unfinished WIP had begun to replace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:08:10 +02:00
Ludovic Marie d229326779 Datafix harness: --band TARGET checks the fixes up to a DataVersion on legacy-layout worlds; fixes sorted by key 2026-10-13 00:06:19 +02:00
Ludovic Marie 6a8c7daca6 Format the render distance fix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:06:03 +02:00