[PR #2236] [MERGED] Players can harvest a full beehive with shears or a glass bottle #4129

Closed
opened 2026-11-03 04:14:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/harvest-full-beehive


📝 Commits (3)

  • 8691d9a Let players harvest a full beehive with shears or a glass bottle
  • ba3b567 Predict a full beehive reacting to shears and glass bottles on the client
  • 00f2663 Merge origin/main into fix/harvest-full-beehive

📊 Changes

3 files changed (+121 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+4 -0)
📝 crates/horizon-client/src/game/beehives.rs (+107 -0)
📝 crates/horizon-client/src/game/remote.rs (+10 -0)

📄 Description

What and why

A player could not harvest a full beehive or bee nest. Right-clicking one at honey level 5 with shears or a glass bottle did nothing. Now:

  • Shears drop the honeycombs (harvest/beehive), play the shear sound and lose durability.
  • A glass bottle turns into a honey bottle.
  • The honey level resets to 0. Unless a campfire smokes the hive, the bees inside come out, the bees already outside get angry, and the ones released close to the player go for them.

The dispenser already did this; the player path is new and works for guests on the server thread too, since it runs inside the normal block use.

Vanilla reference

  • BeehiveBlock.useItemOn
  • BeehiveBlock.dropHoneycomb, releaseBeesAndResetHoneyLevel, resetHoneyLevel, angerNearbyBees
  • BeehiveBlockEntity.emptyAllLivingFromHive
  • CampfireBlock.isSmokeyPos

Self-check

cargo check -p horizon-client passes.


🔄 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/2236 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/harvest-full-beehive` --- ### 📝 Commits (3) - [`8691d9a`](https://github.com/horizon-rust/horizon/commit/8691d9a8e88dcdd3f25783a42f24cd00af293eaa) Let players harvest a full beehive with shears or a glass bottle - [`ba3b567`](https://github.com/horizon-rust/horizon/commit/ba3b567f54ef63c6c3d00d93b9a81c04e80a411e) Predict a full beehive reacting to shears and glass bottles on the client - [`00f2663`](https://github.com/horizon-rust/horizon/commit/00f2663e7bbb32f1b3a688488593f97437b9cf3c) Merge origin/main into fix/harvest-full-beehive ### 📊 Changes **3 files changed** (+121 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+4 -0) 📝 `crates/horizon-client/src/game/beehives.rs` (+107 -0) 📝 `crates/horizon-client/src/game/remote.rs` (+10 -0) </details> ### 📄 Description ## What and why A player could not harvest a full beehive or bee nest. Right-clicking one at honey level 5 with shears or a glass bottle did nothing. Now: - Shears drop the honeycombs (`harvest/beehive`), play the shear sound and lose durability. - A glass bottle turns into a honey bottle. - The honey level resets to 0. Unless a campfire smokes the hive, the bees inside come out, the bees already outside get angry, and the ones released close to the player go for them. The dispenser already did this; the player path is new and works for guests on the server thread too, since it runs inside the normal block use. ## Vanilla reference - `BeehiveBlock.useItemOn` - `BeehiveBlock.dropHoneycomb`, `releaseBeesAndResetHoneyLevel`, `resetHoneyLevel`, `angerNearbyBees` - `BeehiveBlockEntity.emptyAllLivingFromHive` - `CampfireBlock.isSmokeyPos` ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:14:53 +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#4129
No description provided.