[PR #3055] [MERGED] Show the green particle when feeding a baby horse, llama or camel #4772

Closed
opened 2026-11-03 05:07:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3055
Author: @kacpherek
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @ludovic111

Base: main ← Head: fix/horse-feeding-particles-on-server


📝 Commits (1)

  • 9d32beb Show the happy particle when feeding a baby horse on a server

📊 Changes

2 files changed (+42 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game/remote.rs (+1 -0)
📝 crates/horizon-client/src/game/remote_mob_use.rs (+41 -0)

📄 Description

What and why

  • Reported on Discord: feeding a horse shows no particles.
  • In vanilla the green happy-villager particle comes from the client's own copy of the mob: AbstractHorse.handleEating runs on both sides during the interaction, and level.addParticle only draws on the client. The server sends no packet for it.
  • Horizon drew it in llamas.rs on the game's own level. Single player now runs as a client of the server thread, so that particle was never seen there or on servers.
  • The client now draws it when it sends the interaction, for a baby fed something that ages it, with vanilla's items:
    • horse, donkey, mule: wheat, sugar, hay, apple, carrot, golden carrot and both golden apples (not the red mushroom);
    • llama: wheat and hay;
    • camel: its food.
  • Hearts for a tame adult (golden carrot or apple) already come through entity event 18 and are unchanged.

Vanilla reference

AbstractHorse.java:423-480 (handleEating), Llama.java:178-215, Camel.java:418-440.

Self-check

fmt passes. Built and tested by this pull request's checks. Not run in game.


🔄 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/3055 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/horse-feeding-particles-on-server` --- ### 📝 Commits (1) - [`9d32beb`](https://github.com/horizon-rust/horizon/commit/9d32bebad33217ae852779e79c59e12d7e3b3800) Show the happy particle when feeding a baby horse on a server ### 📊 Changes **2 files changed** (+42 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/remote.rs` (+1 -0) 📝 `crates/horizon-client/src/game/remote_mob_use.rs` (+41 -0) </details> ### 📄 Description ## What and why - Reported on Discord: feeding a horse shows no particles. - In vanilla the green happy-villager particle comes from the client's own copy of the mob: `AbstractHorse.handleEating` runs on both sides during the interaction, and `level.addParticle` only draws on the client. The server sends no packet for it. - Horizon drew it in `llamas.rs` on the game's own level. Single player now runs as a client of the server thread, so that particle was never seen there or on servers. - The client now draws it when it sends the interaction, for a baby fed something that ages it, with vanilla's items: - horse, donkey, mule: wheat, sugar, hay, apple, carrot, golden carrot and both golden apples (not the red mushroom); - llama: wheat and hay; - camel: its food. - Hearts for a tame adult (golden carrot or apple) already come through entity event 18 and are unchanged. ## Vanilla reference `AbstractHorse.java:423-480` (`handleEating`), `Llama.java:178-215`, `Camel.java:418-440`. ## Self-check fmt passes. Built and tested by this pull request's checks. Not run in game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:07:49 +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#4772
No description provided.