[PR #2333] [MERGED] Match the farmer's requested items to vanilla #4214

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

📋 Pull Request Information

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

Base: main ← Head: fix/farmer-requested-items


📝 Commits (1)

  • 45996d8 Match the farmer's requested items to vanilla

📊 Changes

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

View changed files

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

📄 Description

What and why

Farmers picked up torchflower seeds and pitcher pods but ignored bone meal, and other villagers handed a farmer torchflower seeds and pitcher pods but never bone meal. The farmer's requested items now match vanilla: wheat, wheat seeds, beetroot seeds and bone meal. Bread, potatoes, carrots and beetroot were listed here too, but food is handled on its own for every villager (picked up as villager food, and thrown to a neighbour that wants more food), so the pickup and the villager-to-villager trading behave as in vanilla.

Vanilla reference

  • VillagerProfession farmer: requestedItems is WHEAT, WHEAT_SEEDS, BEETROOT_SEEDS, BONE_MEAL.
  • Villager.wantsToPickUp: the villager_picks_up tag, items with the villager food component, or the profession's requested items.
  • TradeWithVillager.figureOutWhatIAmWillingToTrade: the neighbour's requested items that the thrower's own profession does not request.

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/2333 **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/farmer-requested-items` --- ### 📝 Commits (1) - [`45996d8`](https://github.com/horizon-rust/horizon/commit/45996d8d78222564644f18832b1f31723f76cd3e) Match the farmer's requested items to vanilla ### 📊 Changes **1 file changed** (+3 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/villager.rs` (+3 -7) </details> ### 📄 Description ## What and why Farmers picked up torchflower seeds and pitcher pods but ignored bone meal, and other villagers handed a farmer torchflower seeds and pitcher pods but never bone meal. The farmer's requested items now match vanilla: wheat, wheat seeds, beetroot seeds and bone meal. Bread, potatoes, carrots and beetroot were listed here too, but food is handled on its own for every villager (picked up as villager food, and thrown to a neighbour that wants more food), so the pickup and the villager-to-villager trading behave as in vanilla. ## Vanilla reference - `VillagerProfession` farmer: `requestedItems` is `WHEAT, WHEAT_SEEDS, BEETROOT_SEEDS, BONE_MEAL`. - `Villager.wantsToPickUp`: the `villager_picks_up` tag, items with the villager food component, or the profession's requested items. - `TradeWithVillager.figureOutWhatIAmWillingToTrade`: the neighbour's requested items that the thrower's own profession does not request. ## 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:31 +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#4214
No description provided.