[PR #5100] [MERGED] Block, world and player parity: 9 fixes from the trackers #6074

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

📋 Pull Request Information

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

Base: main ← Head: fix/trackers-blocks


📝 Commits (10+)

  • 8d75d89 Fill an empty flower pot with a plant on right-click
  • d50a163 Keep an op's spawn egg data on a trial spawner
  • 0eda94e Break a pitcher crop under a walking ravager
  • c780e08 Open a fence gate from a wind burst without turning it
  • 1274487 Snuff a candle from a wind burst with the candle sound
  • 0c312c3 Crack turtle eggs under walking mobs
  • 054124d Lift entities when farmland or a path turns to dirt
  • 73dd470 Let explosions destroy and push experience orbs
  • 09e52b9 Drop flight when leaving spectator near the ground
  • 9afcbb3 Revert "Drop flight when leaving spectator near the ground"

📊 Changes

17 files changed (+226 additions, -20 deletions)

View changed files

📝 crates/horizon-client/src/entities.rs (+8 -0)
📝 crates/horizon-client/src/entity_nbt.rs (+3 -1)
📝 crates/horizon-client/src/game.rs (+7 -0)
📝 crates/horizon-client/src/game/commands.rs (+1 -0)
📝 crates/horizon-client/src/game/creatures.rs (+23 -0)
📝 crates/horizon-client/src/game/explosion.rs (+29 -0)
📝 crates/horizon-client/src/game/pickups.rs (+1 -0)
📝 crates/horizon-client/src/game/piston_push.rs (+50 -1)
📝 crates/horizon-client/src/game/remote.rs (+1 -0)
📝 crates/horizon-client/src/game/spawner.rs (+6 -3)
📝 crates/horizon-client/src/game/wind.rs (+16 -14)
📝 crates/horizon-client/src/mobs.rs (+6 -0)
📝 crates/horizon-client/src/mobs/ai.rs (+11 -0)
📝 crates/horizon-client/src/mobs/ravager.rs (+3 -1)
📝 crates/horizon-client/src/mobs/trial_spawner.rs (+15 -0)
📝 crates/horizon-world/src/level/interact.rs (+39 -0)
📝 crates/horizon-world/src/level/tick.rs (+7 -0)

📄 Description

What and why

Block, world and player fixes from the parity trackers, split out of #4539. One commit per fix, each translated from the vanilla method its message names. Part of #3514 and #3516.

  • Fill an empty flower pot with a plant on right-click
  • Keep an op's spawn egg data on a trial spawner
  • Break a pitcher crop under a walking ravager
  • Open a fence gate from a wind burst without turning it
  • Snuff a candle from a wind burst with the candle sound
  • Crack turtle eggs under walking mobs
  • Lift entities when farmland or a path turns to dirt
  • Let explosions destroy and push experience orbs
  • Drop flight when leaving spectator near the ground

Vanilla reference

Each commit message names the vanilla class and method (File.java); each new or changed function opens its doc with the method it ports.

How it was checked

  • Every commit was read against the vanilla source by a second reviewer, and rdbtCVS's review on #4539 is addressed (full flower pot returns CONSUME, the iron golem's dust roll uses the golem's own random, the goat horn has no pickup delay).
  • cargo check -p horizon-client -p horizon-world --tests passes for this branch alone on current main.
  • tools/port_ledger.py check --base origin/main: no new client or seam gaps, no stale citations.
  • Not run in game; run-parity added so the harnesses run.

🔄 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/5100 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/trackers-blocks` --- ### 📝 Commits (10+) - [`8d75d89`](https://github.com/horizon-rust/horizon/commit/8d75d8953e4ee7d68d43edcb8b10f9606f308ade) Fill an empty flower pot with a plant on right-click - [`d50a163`](https://github.com/horizon-rust/horizon/commit/d50a163baf42450abef9f1a46c4dda8a61771c73) Keep an op's spawn egg data on a trial spawner - [`0eda94e`](https://github.com/horizon-rust/horizon/commit/0eda94e97a81cc54317fd4361454a04d5accf35d) Break a pitcher crop under a walking ravager - [`c780e08`](https://github.com/horizon-rust/horizon/commit/c780e0890c9f642d26bac3c0d9376adb0ae4348e) Open a fence gate from a wind burst without turning it - [`1274487`](https://github.com/horizon-rust/horizon/commit/12744874c8a7cb1929cb2a16c3dd55885ced68fb) Snuff a candle from a wind burst with the candle sound - [`0c312c3`](https://github.com/horizon-rust/horizon/commit/0c312c3c96dbe667633655d92905774a3a6ebe01) Crack turtle eggs under walking mobs - [`054124d`](https://github.com/horizon-rust/horizon/commit/054124dd6fb6e77589cd38688b31b8fd4f9c09e8) Lift entities when farmland or a path turns to dirt - [`73dd470`](https://github.com/horizon-rust/horizon/commit/73dd47046ca7dc1012ab421a99c41fcd61ebd7f6) Let explosions destroy and push experience orbs - [`09e52b9`](https://github.com/horizon-rust/horizon/commit/09e52b9de3f5920a7331cf971be9f75c05f775ec) Drop flight when leaving spectator near the ground - [`9afcbb3`](https://github.com/horizon-rust/horizon/commit/9afcbb3609b25d3ee4d21a9c5567ab7aa7853dea) Revert "Drop flight when leaving spectator near the ground" ### 📊 Changes **17 files changed** (+226 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/entities.rs` (+8 -0) 📝 `crates/horizon-client/src/entity_nbt.rs` (+3 -1) 📝 `crates/horizon-client/src/game.rs` (+7 -0) 📝 `crates/horizon-client/src/game/commands.rs` (+1 -0) 📝 `crates/horizon-client/src/game/creatures.rs` (+23 -0) 📝 `crates/horizon-client/src/game/explosion.rs` (+29 -0) 📝 `crates/horizon-client/src/game/pickups.rs` (+1 -0) 📝 `crates/horizon-client/src/game/piston_push.rs` (+50 -1) 📝 `crates/horizon-client/src/game/remote.rs` (+1 -0) 📝 `crates/horizon-client/src/game/spawner.rs` (+6 -3) 📝 `crates/horizon-client/src/game/wind.rs` (+16 -14) 📝 `crates/horizon-client/src/mobs.rs` (+6 -0) 📝 `crates/horizon-client/src/mobs/ai.rs` (+11 -0) 📝 `crates/horizon-client/src/mobs/ravager.rs` (+3 -1) 📝 `crates/horizon-client/src/mobs/trial_spawner.rs` (+15 -0) 📝 `crates/horizon-world/src/level/interact.rs` (+39 -0) 📝 `crates/horizon-world/src/level/tick.rs` (+7 -0) </details> ### 📄 Description ## What and why Block, world and player fixes from the parity trackers, split out of #4539. One commit per fix, each translated from the vanilla method its message names. Part of #3514 and #3516. - Fill an empty flower pot with a plant on right-click - Keep an op's spawn egg data on a trial spawner - Break a pitcher crop under a walking ravager - Open a fence gate from a wind burst without turning it - Snuff a candle from a wind burst with the candle sound - Crack turtle eggs under walking mobs - Lift entities when farmland or a path turns to dirt - Let explosions destroy and push experience orbs - Drop flight when leaving spectator near the ground ## Vanilla reference Each commit message names the vanilla class and method (`File.java`); each new or changed function opens its doc with the method it ports. ## How it was checked - Every commit was read against the vanilla source by a second reviewer, and rdbtCVS's review on #4539 is addressed (full flower pot returns CONSUME, the iron golem's dust roll uses the golem's own random, the goat horn has no pickup delay). - `cargo check -p horizon-client -p horizon-world --tests` passes for this branch alone on current main. - `tools/port_ledger.py check --base origin/main`: no new `client` or `seam` gaps, no stale citations. - Not run in game; `run-parity` added so the harnesses run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:11:25 +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#6074
No description provided.