[GH-ISSUE #3601] CRUCIAL: Vanilla parity, every player-visible gap by area (833) #1027

Closed
opened 2026-11-02 15:43:44 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @kacpherek on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3601

Crucial. These are the places where Horizon does something a player can see differently from vanilla 26.3, or doesn't do it at all. The port ledger found 833 of them by reading every vanilla method against the Rust code (#3139). Each area below has its own checklist with the vanilla method, where it belongs in Horizon, and what a player sees.

Area Gaps
#3518 Screens, HUD and client packets 197
#3519 Entity and block rendering, models 129
#3512 Animals 110
#3520 Server and players on the server 106
#3516 Blocks, redstone and fluids 86
#3514 Entities, projectiles, vehicles and decorations 64
#3513 Monsters and bosses 53
#3521 Mob AI, villagers and raids 35
#3517 World, world generation and saves 32
#3515 Items, enchantments and inventories 21

To start on one: python3 tools/port_ledger.py where Class.method shows the vanilla source, the Rust home and the neighbouring gaps; the vanilla-parity skill describes the whole loop. Tick the box in the area issue when the fix lands, and change the method's row in tools/port_map/ from missing to port.

Originally created by @kacpherek on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3601 **Crucial.** These are the places where Horizon does something a player can see differently from vanilla 26.3, or doesn't do it at all. The port ledger found 833 of them by reading every vanilla method against the Rust code (#3139). Each area below has its own checklist with the vanilla method, where it belongs in Horizon, and what a player sees. | Area | Gaps | |---|---| | #3518 Screens, HUD and client packets | 197 | | #3519 Entity and block rendering, models | 129 | | #3512 Animals | 110 | | #3520 Server and players on the server | 106 | | #3516 Blocks, redstone and fluids | 86 | | #3514 Entities, projectiles, vehicles and decorations | 64 | | #3513 Monsters and bosses | 53 | | ~~#3521 Mob AI, villagers and raids~~ | 35 | | #3517 World, world generation and saves | 32 | | #3515 Items, enchantments and inventories | 21 | To start on one: `python3 tools/port_ledger.py where Class.method` shows the vanilla source, the Rust home and the neighbouring gaps; the `vanilla-parity` skill describes the whole loop. Tick the box in the area issue when the fix lands, and change the method's row in `tools/port_map/` from `missing` to `port`.
bsakaguchi 2026-11-02 15:43:44 +07:00
Author
Owner

@sirrayi commented on GitHub (Oct 31, 2026):

🤖 Agent: comment by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally.

State of the four lists nobody had claimed — #3512 Animals, #3514 Entities/projectiles/vehicles/decorations, #3516 Blocks/redstone/fluids, #3517 World/worldgen/saves — after reading all 149 of their open rows against main, one at a time, and matching each to the Rust that has to do it. (#3513, #3515, #3518, #3520 and #3521 belong to another contributor; #3515, #3519 and #3521 have no open row left.)

Roughly 110 of the 149 are already in the code. The row-by-row evidence is in my comments on each list, and #5259 corrects 66 verdict-map rows that still said missing (plus three rows that are wrong rather than missing — FallingBlockEntity.getTypeName is skip:data, Ocelot.OcelotAvoidEntityGoal.canUse is port, Axolotl.Variant.getSpawnVariant loses a stale gap). Those are the boxes to tick, with the file and line for each.

Fixed or in flight right now, one row each unless said otherwise: #5297 a dispensed spawn egg applies its entity_data (merged), #5242 mobs bounce off slime blocks and beds, #5275 frogs path amphibiously, #5317 every worn piece wears when its mob is hurt (2 rows), #5321 a hopper can put a disc in a jukebox and it plays (2 rows).

13 rows are genuinely left, and each needs something I do not have here. I have not guessed any of them:

needs rows
the vanilla source (constants, slot indices, a rule) Rabbit.RaidGardenGoal ×3 (the MoreCarrotTicks a raid sets, the start delay), Mannequin.updateDescription + defineSynchedData (the synched-data indices and the description's format), ShulkerBullet.hurtServer (its hurt path), BlockAttachedEntity.ignoreExplosion (its water rule), the tadpole's look-at-players half (radius and priority), Fox.addTrustedEntity/getTrustedEntities (the trust rules; and Horizon tracks no loveCause for a breeder)
a bigger change than one small PR MinecartSpawner (a whole cart kind), DebugLevelSource (a debug generator), FlatLevelSource.createState (superflat's structure overrides)
an in-game check first MinecartCollisionContext and ShulkerBoxBlockEntity.moveCollidedEntities — both rows say they were read from the code, not confirmed in game

Two things that would unblock most of the first row of that table: the pinned 26.3 jar (or its decompiled sources) on the machine, and one line saying whether a hopper taking a disc out of a jukebox is in scope of the jukebox rows (I implemented the insert; the maintainer's agent added the extraction, 5f10427df).

<!-- gh-comment-id:6547405546 --> @sirrayi commented on GitHub (Oct 31, 2026): 🤖 Agent: comment by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally. State of the four lists nobody had claimed — #3512 Animals, #3514 Entities/projectiles/vehicles/decorations, #3516 Blocks/redstone/fluids, #3517 World/worldgen/saves — after reading **all 149 of their open rows** against `main`, one at a time, and matching each to the Rust that has to do it. (#3513, #3515, #3518, #3520 and #3521 belong to another contributor; #3515, #3519 and #3521 have no open row left.) **Roughly 110 of the 149 are already in the code.** The row-by-row evidence is in my comments on each list, and #5259 corrects 66 verdict-map rows that still said `missing` (plus three rows that are wrong rather than missing — `FallingBlockEntity.getTypeName` is `skip:data`, `Ocelot.OcelotAvoidEntityGoal.canUse` is `port`, `Axolotl.Variant.getSpawnVariant` loses a stale gap). Those are the boxes to tick, with the file and line for each. **Fixed or in flight right now**, one row each unless said otherwise: #5297 a dispensed spawn egg applies its `entity_data` (**merged**), #5242 mobs bounce off slime blocks and beds, #5275 frogs path amphibiously, #5317 every worn piece wears when its mob is hurt (2 rows), #5321 a hopper can put a disc in a jukebox and it plays (2 rows). **13 rows are genuinely left, and each needs something I do not have here.** I have not guessed any of them: | needs | rows | |---|---| | the vanilla source (constants, slot indices, a rule) | `Rabbit.RaidGardenGoal` ×3 (the `MoreCarrotTicks` a raid sets, the start delay), `Mannequin.updateDescription` + `defineSynchedData` (the synched-data indices and the description's format), `ShulkerBullet.hurtServer` (its hurt path), `BlockAttachedEntity.ignoreExplosion` (its water rule), the tadpole's look-at-players half (radius and priority), `Fox.addTrustedEntity`/`getTrustedEntities` (the trust rules; and Horizon tracks no `loveCause` for a breeder) | | a bigger change than one small PR | `MinecartSpawner` (a whole cart kind), `DebugLevelSource` (a debug generator), `FlatLevelSource.createState` (superflat's structure overrides) | | an in-game check first | `MinecartCollisionContext` and `ShulkerBoxBlockEntity.moveCollidedEntities` — both rows say they were read from the code, not confirmed in game | Two things that would unblock most of the first row of that table: the pinned 26.3 jar (or its decompiled sources) on the machine, and one line saying whether a hopper taking a disc out of a jukebox is in scope of the jukebox rows (I implemented the insert; the maintainer's agent added the extraction, 5f10427df).
Author
Owner

@sirrayi commented on GitHub (Oct 31, 2026):

🤖 Agent: comment by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally.

Following up on my last comment: xFedeT's agent says on #5327 that the synched-data indices and the description's format "are in the vanilla source (Mannequin.java, Avatar.java, ClientMannequin.java)" — so somebody on this repo can read it. Here is exactly what I cannot settle without it, one line each. A single pasted fact per row turns a blocked row into a small pull request for me.

#3512

  • Rabbit.RaidGardenGoal.canUse/tick — the two numbers: how many ticks of MoreCarrotTicks eating a ripe carrot sets, and the goal's start delay (reducedTickDelay(…)?); plus whether isValidTarget requires the crop below to be a supporting block.
  • Tadpole.customServerAiStep — the look-at-players half: the radius and priority of that activity in TadpoleAi, if it has one at all.
  • Fox.addTrustedEntity/getTrustedEntities — how trust is acquired (breeding passing the breeder, feeding, both?), the saved Trusted shape, and whether the avoid-player goal tests isTrusted.

#3514

  • ShulkerBullet.hurtServer — the body: which sound, which particles, discard or deflect, and which damage sources it refuses.
  • BlockAttachedEntity.ignoreExplosion — the condition our comment paraphrases as "spares paintings and cushions when the exploding entity is in water".

#3516

  • ShulkerBoxBlockEntity.moveCollidedEntities — the swept box and how far it pushes (updateEntityMovementAfterFall?); the row itself is marked unsure.

#3517

  • DebugLevelSource — the grid: spacing, which block states are skipped, and the barrier floor's y.
  • FlatLevelSource.createState — how structure_overrides (tag names such as minecraft:villages) resolve to structure sets, and what height the structures are placed against in a flat level.
  • MinecartCollisionContext — whether such a class exists and what it excludes (our note says the block under the rail and an ascending rail's slope block).

Everything else on the four lists is ported, wrong, or already in a pull request of mine — the detail is in my comment on each of #3512, #3514, #3516 and #3517, and #5259 carries the verdict-map corrections.

<!-- gh-comment-id:6547437680 --> @sirrayi commented on GitHub (Oct 31, 2026): 🤖 Agent: comment by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally. Following up on my last comment: xFedeT's agent says on #5327 that the synched-data indices and the description's format "are in the vanilla source (`Mannequin.java`, `Avatar.java`, `ClientMannequin.java`)" — so somebody on this repo can read it. Here is exactly what I cannot settle without it, one line each. A single pasted fact per row turns a blocked row into a small pull request for me. **#3512** - `Rabbit.RaidGardenGoal.canUse/tick` — the two numbers: how many ticks of `MoreCarrotTicks` eating a ripe carrot sets, and the goal's start delay (`reducedTickDelay(…)`?); plus whether `isValidTarget` requires the crop below to be a supporting block. - `Tadpole.customServerAiStep` — the look-at-players half: the radius and priority of that activity in `TadpoleAi`, if it has one at all. - `Fox.addTrustedEntity`/`getTrustedEntities` — how trust is acquired (breeding passing the breeder, feeding, both?), the saved `Trusted` shape, and whether the avoid-player goal tests `isTrusted`. **#3514** - `ShulkerBullet.hurtServer` — the body: which sound, which particles, discard or deflect, and which damage sources it refuses. - `BlockAttachedEntity.ignoreExplosion` — the condition our comment paraphrases as "spares paintings and cushions when the exploding entity is in water". **#3516** - `ShulkerBoxBlockEntity.moveCollidedEntities` — the swept box and how far it pushes (`updateEntityMovementAfterFall`?); the row itself is marked unsure. **#3517** - `DebugLevelSource` — the grid: spacing, which block states are skipped, and the barrier floor's y. - `FlatLevelSource.createState` — how `structure_overrides` (tag names such as `minecraft:villages`) resolve to structure sets, and what height the structures are placed against in a flat level. - `MinecartCollisionContext` — whether such a class exists and what it excludes (our note says the block under the rail and an ascending rail's slope block). Everything else on the four lists is ported, wrong, or already in a pull request of mine — the detail is in my comment on each of #3512, #3514, #3516 and #3517, and #5259 carries the verdict-map corrections.
Author
Owner

@sirrayi commented on GitHub (Oct 31, 2026):

🤖 Agent: comment by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally.

A closing record for the four lists I took on — #3512, #3514, #3516, #3517 — after reading all 149 of their open rows against main, one at a time, and fixing what could be fixed without guessing.

Merged and in main

  • #5297 — a dispensed spawn egg applies its minecraft:entity_data (EntityType.updateCustomEntityTag, the game/dispenser.rs half).
  • #5317 — every worn piece on a mob wears when the mob is hurt (Horse.hurtArmor, LivingEntity.doHurtEquipment), with the equipment-break events for the armour and the body. Its player half is #5392, which the maintainer pointed at when reverting my duplicated guest-break commit.

Open and green

  • #5242 mobs bounce off slime blocks and beds (Entity.getBlockBounciness).
  • #5275 frogs path amphibiously and prefer the shallows (Frog.FrogPathNavigation.createPathFinder, .canCutCorner).
  • #5321 a hopper can put a disc in a jukebox and it plays (JukeboxBlockEntity.setTheItem, .canPlaceItem).
  • #5414 foxes trust the players their list names, and their babies trust the breeders (Fox.addTrustedEntity, Fox.getTrustedEntities, Animal.LoveCause).
  • #5423 an ocelot can come to trust players, and a wild one despawns (Ocelot.mobInteract, Ocelot.reassessTrustingGoals, Ocelot.removeWhenFarAway).
  • #5259 and #5380 — the verdict map, ~147 rows: the open rows it called missing though the code has them, the ticked rows whose map entry never caught up, and the three rows that are wrong rather than missing.

The tick lists. For each list I posted the rows that only need a tick, with the exclusions spelled out: #3512 41 rows · #3514 21 · #3516 44 · #3517 14. #3516 has no genuinely missing row left.

Nine boxes are ticked but the fix never merged. #3943 was closed without merging and its dolphin rows (Dolphin.MoveToItemGoal.canUse/start/stop, Dolphin.ItemGoal.drop/dropItem, Dolphin.pickUpItem) have no implementation in the tree at all, nor do Fox.canHoldItem/Fox.pickUpItem from the same branch; #3947 is still open, so its four AbstractBoat bubble-column rows and four camel/llama rows are not in main either. Unticking those is the accurate state.

What genuinely remains in these four lists, and what it needs

  • Rabbit.RaidGardenGoal.canUse/isValidTarget/tick — two numbers from the source (the MoreCarrotTicks a raid sets, the goal's start delay) and the exact target predicate.
  • Dolphin.* — Dolphin.ALLOWED_ITEMS, the item list a dolphin fetches, plus a way for the AI to see dropped items (MobWorld cannot; main's looting pass runs in the game layer for that reason).
  • ShulkerBullet.hurtServer — the hurt path itself, and the attack ray here only picks mobs, so a projectile is not a target yet.
  • MinecartSpawner — a whole cart kind.
  • BlockAttachedEntity.ignoreExplosion — the "exploding entity is in water" rule.
  • DebugLevelSource, FlatLevelSource.createState — the debug world's grid, and how superflat's structure_overrides resolve to structure sets.
  • MinecartCollisionContext — the row itself says it was read from the code, never confirmed in game.
  • EntityType.appendCustomEntityStackConfig — the writer side of the entity-data component.

Every one of those needs the pinned 26.3 jar or its decompiled sources; with them on the machine each is a small pull request. The exact fact needed for each is in this earlier comment.

<!-- gh-comment-id:6548038385 --> @sirrayi commented on GitHub (Oct 31, 2026): 🤖 Agent: comment by sirrayi's AI agent (DeepSeek Harness, deepseek-v4.1-flash), not by sirrayi personally. A closing record for the four lists I took on — #3512, #3514, #3516, #3517 — after reading all 149 of their open rows against `main`, one at a time, and fixing what could be fixed without guessing. **Merged and in `main`** - #5297 — a dispensed spawn egg applies its `minecraft:entity_data` (`EntityType.updateCustomEntityTag`, the `game/dispenser.rs` half). - #5317 — every worn piece on a mob wears when the mob is hurt (`Horse.hurtArmor`, `LivingEntity.doHurtEquipment`), with the equipment-break events for the armour and the body. Its player half is #5392, which the maintainer pointed at when reverting my duplicated guest-break commit. **Open and green** - #5242 mobs bounce off slime blocks and beds (`Entity.getBlockBounciness`). - #5275 frogs path amphibiously and prefer the shallows (`Frog.FrogPathNavigation.createPathFinder`, `.canCutCorner`). - #5321 a hopper can put a disc in a jukebox and it plays (`JukeboxBlockEntity.setTheItem`, `.canPlaceItem`). - #5414 foxes trust the players their list names, and their babies trust the breeders (`Fox.addTrustedEntity`, `Fox.getTrustedEntities`, `Animal.LoveCause`). - #5423 an ocelot can come to trust players, and a wild one despawns (`Ocelot.mobInteract`, `Ocelot.reassessTrustingGoals`, `Ocelot.removeWhenFarAway`). - #5259 and #5380 — the verdict map, ~147 rows: the open rows it called `missing` though the code has them, the ticked rows whose map entry never caught up, and the three rows that are wrong rather than missing. **The tick lists.** For each list I posted the rows that only need a tick, with the exclusions spelled out: [#3512 41 rows](https://github.com/horizon-rust/horizon/issues/3512#issuecomment-6547744807) · [#3514 21](https://github.com/horizon-rust/horizon/issues/3514#issuecomment-6547745061) · [#3516 44](https://github.com/horizon-rust/horizon/issues/3516#issuecomment-6547745301) · [#3517 14](https://github.com/horizon-rust/horizon/issues/3517#issuecomment-6547745179). #3516 has no genuinely missing row left. **Nine boxes are ticked but the fix never merged.** #3943 was closed without merging and its dolphin rows (`Dolphin.MoveToItemGoal.canUse/start/stop`, `Dolphin.ItemGoal.drop`/`dropItem`, `Dolphin.pickUpItem`) have no implementation in the tree at all, nor do `Fox.canHoldItem`/`Fox.pickUpItem` from the same branch; #3947 is still open, so its four `AbstractBoat` bubble-column rows and four camel/llama rows are not in `main` either. Unticking those is the accurate state. **What genuinely remains in these four lists, and what it needs** - `Rabbit.RaidGardenGoal.canUse/isValidTarget/tick` — two numbers from the source (the `MoreCarrotTicks` a raid sets, the goal's start delay) and the exact target predicate. - `Dolphin.*` — `Dolphin.ALLOWED_ITEMS`, the item list a dolphin fetches, plus a way for the AI to see dropped items (`MobWorld` cannot; main's looting pass runs in the game layer for that reason). - `ShulkerBullet.hurtServer` — the hurt path itself, and the attack ray here only picks mobs, so a projectile is not a target yet. - `MinecartSpawner` — a whole cart kind. - `BlockAttachedEntity.ignoreExplosion` — the "exploding entity is in water" rule. - `DebugLevelSource`, `FlatLevelSource.createState` — the debug world's grid, and how superflat's `structure_overrides` resolve to structure sets. - `MinecartCollisionContext` — the row itself says it was read from the code, never confirmed in game. - `EntityType.appendCustomEntityStackConfig` — the writer side of the entity-data component. Every one of those needs the pinned 26.3 jar or its decompiled sources; with them on the machine each is a small pull request. The exact fact needed for each is in [this earlier comment](https://github.com/horizon-rust/horizon/issues/3601#issuecomment-6547437680).
Author
Owner

@JayTheCoderX commented on GitHub (Nov 1, 2026):

#3514 was closed as fixed, however #4350 seemingly remains entirely unresolved

<!-- gh-comment-id:6556676904 --> @JayTheCoderX commented on GitHub (Nov 1, 2026): #3514 was closed as fixed, however #4350 seemingly remains entirely unresolved
Author
Owner

@ludovic111 commented on GitHub (Nov 1, 2026):

🤖 Agent: every area checklist linked here is closed, so this umbrella is done. #4350 (projectile behaviour) is a separate issue and stays open. A fresh port-ledger run, tracked in #3912, will list anything left.

<!-- gh-comment-id:6561344220 --> @ludovic111 commented on GitHub (Nov 1, 2026): 🤖 Agent: every area checklist linked here is closed, so this umbrella is done. #4350 (projectile behaviour) is a separate issue and stays open. A fresh port-ledger run, tracked in #3912, will list anything left.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1027
No description provided.