[GH-ISSUE #4350] Major Player-visible Projectile Behaviour Parity Errors #1286

Open
opened 2026-11-02 15:45:43 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @JayTheCoderX on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4350

Originally assigned to: @Joansitoh on GitHub.

Arrow client side projection does not seem to account for fluids or interactions with blocks, client side projection does not rotate at all, as stated in other issue does not wiggle when stuck in a block.

More majorly, on a server-side level, projectiles do not correctly collide with others. Example:

player-shot arrow hits wind charge. Wind charge should be shot in direction that player is currently facing (Yes, you've somehow accidentally and incorrectly fixed https://bugs.mojang.com/browse/MC-268464)

Suggestion: Add comprehensive tests for this behaviour against the vanilla client and server between different kinds of projectiles shot by player and other mobs interacting with other kinds of projectiles, and ensure parity

Originally created by @JayTheCoderX on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4350 Originally assigned to: @Joansitoh on GitHub. Arrow client side projection does not seem to account for fluids or interactions with blocks, client side projection does not rotate *at all*, as stated in other issue does not wiggle when stuck in a block. More majorly, on a server-side level, projectiles do not correctly collide with others. Example: player-shot arrow hits wind charge. Wind charge should be shot in direction that player is currently facing (Yes, you've somehow accidentally and incorrectly fixed https://bugs.mojang.com/browse/MC-268464) Suggestion: Add comprehensive tests for this behaviour against the vanilla client and server between different kinds of projectiles shot by player and other mobs interacting with other kinds of projectiles, and ensure parity
Author
Owner

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

/claim

<!-- gh-comment-id:6558058019 --> @xFedeT commented on GitHub (Nov 1, 2026): /claim
Author
Owner

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

🤖 Agent: comment by xFedeT's AI agent (Claude Code, Claude Sonnet 5.5), not by xFedeT personally. I went through the issue point by point on main (c1f4a7c19) and I am releasing my claim: most of it is done, and what is left needs a vanilla client to compare against.

  • A stuck arrow does not wiggle: done. ArrowModel.setupAnim is ported (game/creatures.rs, the arrow draw rolls the root by -sin(shake * 3) * shake degrees while shakeTime runs), merged in 0c9e6293e ("Roll stuck arrows while their shake timer runs"). The port-map row ArrowModel.setupAnim in tools/port_map/client-007.tsv still says missing; it is stale.
  • The client-side arrow does not rotate: arrows are drawn with their yaw and pitch (ArrowRenderer.submit: YP yRot - 90, ZP xRot). Remote arrows not updating their flight pitch, and bow arrows drifting sideways when strafing, are #5855 with its pull request #5857 (Lostpold88), still open.
  • A player-shot arrow hits a wind charge: game/deflect.rs::aim_deflect is Projectile.onRedirectProjectile (ProjectileDeflection.AIM_DEFLECT): the charge flies along the shooter's look and becomes the shooter's. I did not compare it with a vanilla server, so I cannot say whether it is the behaviour the report describes (the report also calls it an accidental fix of MC-268464).
  • The client-side prediction does not account for fluids or blocks: not checked; I would need a vanilla client to see what differs.
  • The suggestion (tests of projectiles against the vanilla client and server) is a harness: one projectile pair per scenario in the style of mob_ai. That is a task of its own.

/unclaim.

<!-- gh-comment-id:6558062790 --> @xFedeT commented on GitHub (Nov 1, 2026): 🤖 Agent: comment by xFedeT's AI agent (Claude Code, Claude Sonnet 5.5), not by xFedeT personally. I went through the issue point by point on `main` (c1f4a7c19) and I am releasing my claim: most of it is done, and what is left needs a vanilla client to compare against. - **A stuck arrow does not wiggle:** done. `ArrowModel.setupAnim` is ported (`game/creatures.rs`, the arrow draw rolls the root by `-sin(shake * 3) * shake` degrees while `shakeTime` runs), merged in `0c9e6293e` ("Roll stuck arrows while their shake timer runs"). The port-map row `ArrowModel.setupAnim` in `tools/port_map/client-007.tsv` still says `missing`; it is stale. - **The client-side arrow does not rotate:** arrows are drawn with their yaw and pitch (`ArrowRenderer.submit`: `YP yRot - 90`, `ZP xRot`). Remote arrows not updating their flight pitch, and bow arrows drifting sideways when strafing, are #5855 with its pull request #5857 (Lostpold88), still open. - **A player-shot arrow hits a wind charge:** `game/deflect.rs::aim_deflect` is `Projectile.onRedirectProjectile` (`ProjectileDeflection.AIM_DEFLECT`): the charge flies along the shooter's look and becomes the shooter's. I did not compare it with a vanilla server, so I cannot say whether it is the behaviour the report describes (the report also calls it an accidental fix of MC-268464). - **The client-side prediction does not account for fluids or blocks:** not checked; I would need a vanilla client to see what differs. - **The suggestion** (tests of projectiles against the vanilla client and server) is a harness: one projectile pair per scenario in the style of `mob_ai`. That is a task of its own. `/unclaim`.
Author
Owner

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

/unclaim

<!-- gh-comment-id:6558098883 --> @xFedeT commented on GitHub (Nov 1, 2026): /unclaim
Author
Owner

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

🤖 Agent: /claim

(Joansitoh's AI agent, Claude Code, Sonnet 5.5. Only the slice "a player's arrow, mob arrow or trident strikes a wind charge and turns it along the shooter's look"; the rest of the issue stays open and unclaimed.)

<!-- gh-comment-id:6558146137 --> @Joansitoh commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim (Joansitoh's AI agent, Claude Code, Sonnet 5.5. Only the slice "a player's arrow, mob arrow or trident strikes a wind charge and turns it along the shooter's look"; the rest of the issue stays open and unclaimed.)
Author
Owner

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

Pull #5857 improved by adding client-side interpolation but client-side sub-tick interpolation is still entirely absent, as is interaction with liquids.

<!-- gh-comment-id:6560915379 --> @JayTheCoderX commented on GitHub (Nov 1, 2026): Pull #5857 improved by adding client-side interpolation but client-side sub-tick interpolation is still entirely absent, as is interaction with liquids.
Author
Owner

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

Correction: Interaction with liquids is present, but different between client and server

<!-- gh-comment-id:6561098644 --> @JayTheCoderX commented on GitHub (Nov 1, 2026): Correction: Interaction with liquids is present, but different between client and server
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#1286
No description provided.