[PR #7297] [MERGED] port map: game2-006's projectile gaps cite what is actually there #7472

Closed
opened 2026-11-03 06:39:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7297
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/vol-b-game2-006


📝 Commits (1)

  • b56d376 port map: the projectile gaps cite what is actually there

📊 Changes

1 file changed (+12 additions, -12 deletions)

View changed files

📝 tools/port_map/game2-006.tsv (+12 -12)

📄 Description

Rows of tools/port_map/game2-006.tsv (140 rows, map-check clean against 26.3), projectiles. Notes only: every missing row in this batch was checked against the tree and each one is a real absence, but five of the notes named code that does not exist and the rest were vaguer than they needed to be.

Notes repaired

  • Projectile.applyImplicitComponent: the note pointed at a load_bucket_data that is not in the tree. The only implicit components Horizon applies are the ones a mob coming out of a bucket carries (entity_nbt::bucket_components, game/creatures.rs:5058), so a projectile spawned from an item with a can_break component still keeps no break predicate.
  • ShulkerBullet.addAdditionalSaveData, readAdditionalSaveData: entity_nbt.rs::saved_with_chunk states which projectile kinds a chunk writes and leaves ShulkerBullet (with LlamaSpit, WitherSkull, Trident) out, so a bullet in flight is dropped with the save and its final target and move direction have neither a writer nor a reader.
  • AbstractWindCharge.canHitEntity: the wind charge's target list is creatures.rs::wind_charge_hitboxes, which collects the other live, unstuck wind charges as hittable boxes; nothing there drops a wind charge or an end crystal.
  • ThrownEnderpearl.isAllowedToTeleportOwner, canTeleport: the pearl's hit in game/creatures.rs teleports the owner without asking whether they are dead or sleeping, and with no seen-credits test for a pearl that came from the End.
  • Projectile.restoreFrom, canBreakBlockInAdventureMode, ShulkerBullet.canHitEntity, AbstractHurtingProjectile.canHitEntity, ThrowableProjectile.handleFirstTickBubbleColumn, AbstractArrow.getSlot: each now names the code that is missing the behaviour — no projectile restoreFrom, no can_break in a projectile's break test, no no-physics filter in either target search, no first-tick push for a throwable inside a bubble column, and an arrow's pickup stack not addressable as an entity slot.

Map-check:

PORT_LEDGER_OUT=... python3 tools/port_ledger.py map-check tools/port_map/game2-006.tsv
140 rows, no problems.

Proven: every rewritten note; bucket_components, saved_with_chunk, wind_charge_hitboxes and the pearl teleport are read in the tree at this commit, and saved_with_chunk's match names the kinds it writes.

Not proven: nothing here changes a verdict, and none of these gaps is shown to be unportable — this pass only established that the behaviour is absent and where the nearest code stops. In particular I did not pin down whether vanilla's canHitEntity for the wind charge excludes an end crystal, so that row records the filter Horizon does not apply rather than the exact vanilla rule.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7297 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/vol-b-game2-006` --- ### 📝 Commits (1) - [`b56d376`](https://github.com/horizon-rust/horizon/commit/b56d3763153391bdc9745e8204ef6518837eb162) port map: the projectile gaps cite what is actually there ### 📊 Changes **1 file changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game2-006.tsv` (+12 -12) </details> ### 📄 Description Rows of `tools/port_map/game2-006.tsv` (140 rows, map-check clean against 26.3), projectiles. Notes only: every `missing` row in this batch was checked against the tree and each one is a real absence, but five of the notes named code that does not exist and the rest were vaguer than they needed to be. **Notes repaired** - `Projectile.applyImplicitComponent`: the note pointed at a `load_bucket_data` that is not in the tree. The only implicit components Horizon applies are the ones a mob coming out of a bucket carries (`entity_nbt::bucket_components`, `game/creatures.rs:5058`), so a projectile spawned from an item with a `can_break` component still keeps no break predicate. - `ShulkerBullet.addAdditionalSaveData`, `readAdditionalSaveData`: `entity_nbt.rs::saved_with_chunk` states which projectile kinds a chunk writes and leaves `ShulkerBullet` (with `LlamaSpit`, `WitherSkull`, `Trident`) out, so a bullet in flight is dropped with the save and its final target and move direction have neither a writer nor a reader. - `AbstractWindCharge.canHitEntity`: the wind charge's target list is `creatures.rs::wind_charge_hitboxes`, which collects the other live, unstuck wind charges as hittable boxes; nothing there drops a wind charge or an end crystal. - `ThrownEnderpearl.isAllowedToTeleportOwner`, `canTeleport`: the pearl's hit in `game/creatures.rs` teleports the owner without asking whether they are dead or sleeping, and with no seen-credits test for a pearl that came from the End. - `Projectile.restoreFrom`, `canBreakBlockInAdventureMode`, `ShulkerBullet.canHitEntity`, `AbstractHurtingProjectile.canHitEntity`, `ThrowableProjectile.handleFirstTickBubbleColumn`, `AbstractArrow.getSlot`: each now names the code that is missing the behaviour — no projectile `restoreFrom`, no `can_break` in a projectile's break test, no no-physics filter in either target search, no first-tick push for a throwable inside a bubble column, and an arrow's pickup stack not addressable as an entity slot. Map-check: ``` PORT_LEDGER_OUT=... python3 tools/port_ledger.py map-check tools/port_map/game2-006.tsv 140 rows, no problems. ``` **Proven:** every rewritten note; `bucket_components`, `saved_with_chunk`, `wind_charge_hitboxes` and the pearl teleport are read in the tree at this commit, and `saved_with_chunk`'s match names the kinds it writes. **Not proven:** nothing here changes a verdict, and none of these gaps is shown to be unportable — this pass only established that the behaviour is absent and where the nearest code stops. In particular I did not pin down whether vanilla's `canHitEntity` for the wind charge excludes an end crystal, so that row records the filter Horizon does not apply rather than the exact vanilla rule. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:39:56 +07:00
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#7472
No description provided.