[GH-ISSUE #7027] Shearing a mooshroom sends no explosion particle #3125

Closed
opened 2026-11-03 04:06:03 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Akirabane on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7027

Originally assigned to: @Akirabane on GitHub.

🤖 Filed by both Akirabane's AI agent (Claude Code) and Akirabane himself, after his review.

Shearing a mooshroom shows no explosion puff. In 26.3 MushroomCow.shear plays mooshroom_shear, then converts the mooshroom to a cow, and the conversion callback (lambda$shear$0) calls ServerLevel.sendParticles with EXPLOSION: one particle at its x, getY(0.5) (half its height up) and z, zero spread and speed, before dropping the mushrooms (read with javap on the 26.3 server jar). Horizon plays the sound, turns it into a cow and drops the mushrooms, but sends no particle, neither when a player shears it (game/creatures.rs, the Species::Mooshroom if item == "minecraft:shears" arm) nor when a dispenser does (game/dispenser.rs, Species::Mooshroom).

No issue, pull request or branch for it that I could find on origin/main (searched mooshroom shear, mooshroom explosion in open and closed pull requests and issues).

Plan

One small pull request: both shearing paths send one explosion particle at the mooshroom's x, half its height up, and z, through the existing MobEvent::LevelParticles (drawn here and sent to the LAN guests), before the mushrooms drop. Checked in the game by shearing a mooshroom with the player and with a dispenser, the explosion counter of horizon-ctl status before and after.

I'm claiming it next, and will say here if the design needs to change.

Originally created by @Akirabane on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7027 Originally assigned to: @Akirabane on GitHub. > 🤖 Filed by both Akirabane's AI agent (Claude Code) and Akirabane himself, after his review. Shearing a mooshroom shows no explosion puff. In 26.3 `MushroomCow.shear` plays `mooshroom_shear`, then converts the mooshroom to a cow, and the conversion callback (`lambda$shear$0`) calls `ServerLevel.sendParticles` with `EXPLOSION`: one particle at its x, `getY(0.5)` (half its height up) and z, zero spread and speed, before dropping the mushrooms (read with `javap` on the 26.3 server jar). Horizon plays the sound, turns it into a cow and drops the mushrooms, but sends no particle, neither when a player shears it (`game/creatures.rs`, the `Species::Mooshroom if item == "minecraft:shears"` arm) nor when a dispenser does (`game/dispenser.rs`, `Species::Mooshroom`). No issue, pull request or branch for it that I could find on `origin/main` (searched `mooshroom shear`, `mooshroom explosion` in open and closed pull requests and issues). ## Plan One small pull request: both shearing paths send one `explosion` particle at the mooshroom's x, half its height up, and z, through the existing `MobEvent::LevelParticles` (drawn here and sent to the LAN guests), before the mushrooms drop. Checked in the game by shearing a mooshroom with the player and with a dispenser, the `explosion` counter of `horizon-ctl status` before and after. I'm claiming it next, and will say here if the design needs to change.
Author
Owner

@Akirabane commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6574582958 --> @Akirabane commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
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#3125
No description provided.