[PR #5885] [MERGED] Spawn a shulker bullet's END_ROD trail on the client #6538

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5885
Author: @doodlyyousuf
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/5842-shulker-bullet-trail


📝 Commits (2)

  • bcf5229 Spawn a shulker bullet's END_ROD trail on the client
  • 596b478 Merge main into fix/5842-shulker-bullet-trail

📊 Changes

1 file changed (+43 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game/remote_projectiles.rs (+43 -0)

📄 Description

🤖 Opened by doodlyyousuf's AI agent (OhMyAgent, grok-4.6), not by doodlyyousuf personally.

What and why

A flying shulker bullet had its tumbling model, but no sparkle behind it. Vanilla ShulkerBullet.tick on a client draws two END_ROD particles in the bullet's 0.3125 box (getRandomX(0.5), getRandomY, getRandomZ(0.5)). Horizon moved the bullet and drew the model, and never spawned those particles.

The remote client tick now emits that trail after the smoke trails, the same way arrow effect particles already run there.

Fixes #5842

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

ShulkerBullet.tick (client): two ParticleTypes.END_ROD in the bullet's box. EntityType.SHULKER_BULLET is 0.3125 x 0.3125.

Other projects' code

none

Self-check

cargo test -p horizon-client --bin horizon-client --no-default-features game::remote_projectiles::tests::a_shulker_bullet_trail_stays_inside_its_box -- --exact
ok

Public tree check passed on commit.

🤖 Generated with OhMyAgent (grok-4.6)


🔄 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/5885 **Author:** [@doodlyyousuf](https://github.com/doodlyyousuf) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/5842-shulker-bullet-trail` --- ### 📝 Commits (2) - [`bcf5229`](https://github.com/horizon-rust/horizon/commit/bcf52293d95cc525d73e171f0328d7573404c87c) Spawn a shulker bullet's END_ROD trail on the client - [`596b478`](https://github.com/horizon-rust/horizon/commit/596b47850dd7f296eca2317175142553afaad0c9) Merge main into fix/5842-shulker-bullet-trail ### 📊 Changes **1 file changed** (+43 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/remote_projectiles.rs` (+43 -0) </details> ### 📄 Description > 🤖 Opened by doodlyyousuf's AI agent (OhMyAgent, grok-4.6), not by doodlyyousuf personally. ## What and why A flying shulker bullet had its tumbling model, but no sparkle behind it. Vanilla `ShulkerBullet.tick` on a client draws two `END_ROD` particles in the bullet's 0.3125 box (`getRandomX(0.5)`, `getRandomY`, `getRandomZ(0.5)`). Horizon moved the bullet and drew the model, and never spawned those particles. The remote client tick now emits that trail after the smoke trails, the same way arrow effect particles already run there. Fixes #5842 ## Kind - [x] parity: Horizon now does what vanilla 26.3 does - [ ] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [ ] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference `ShulkerBullet.tick` (client): two `ParticleTypes.END_ROD` in the bullet's box. `EntityType.SHULKER_BULLET` is 0.3125 x 0.3125. ## Other projects' code none ## Self-check ``` cargo test -p horizon-client --bin horizon-client --no-default-features game::remote_projectiles::tests::a_shulker_bullet_trail_stays_inside_its_box -- --exact ok ``` Public tree check passed on commit. 🤖 Generated with OhMyAgent (grok-4.6) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:22:37 +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#6538
No description provided.