[PR #2264] [MERGED] Bees let out of a sedated hive stay out of hives for 20 seconds #4156

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

📋 Pull Request Information

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

Base: main ← Head: fix/bee-sedated-stay-out


📝 Commits (1)

  • 790b191 Bees let out of a sedated hive stay out for 400 ticks

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/mobs/bee.rs (+3 -3)

📄 Description

What and why

When a hive is broken with a campfire or sedation under it, the bees that come out should stay out of hives for 20 seconds (400 ticks). Horizon only reset the "time without nectar" counter instead, so the bees flew straight back in. The countdown now sets the stay-out timer, which the bee already ticks down and respects when it looks for a hive.

Vanilla reference

  • BeehiveBlockEntity.emptyAllLivingFromHive (bee.setStayOutOfHiveCountdown(400) when sedated)
  • Bee.setStayOutOfHiveCountdown, Bee.aiStep, Bee.wantsToEnterHive

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/2264 **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/bee-sedated-stay-out` --- ### 📝 Commits (1) - [`790b191`](https://github.com/horizon-rust/horizon/commit/790b191ed18f1e0fd839df8719a7d6300d3aac69) Bees let out of a sedated hive stay out for 400 ticks ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/bee.rs` (+3 -3) </details> ### 📄 Description ## What and why When a hive is broken with a campfire or sedation under it, the bees that come out should stay out of hives for 20 seconds (400 ticks). Horizon only reset the "time without nectar" counter instead, so the bees flew straight back in. The countdown now sets the stay-out timer, which the bee already ticks down and respects when it looks for a hive. ## Vanilla reference - `BeehiveBlockEntity.emptyAllLivingFromHive` (`bee.setStayOutOfHiveCountdown(400)` when sedated) - `Bee.setStayOutOfHiveCountdown`, `Bee.aiStep`, `Bee.wantsToEnterHive` ## 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:15:05 +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#4156
No description provided.