fix(harvest): replant triggering crop
Release / release (push) Successful in 2m18s
CI / build (push) Successful in 57s

This commit is contained in:
dmg
2026-08-14 18:44:36 -04:00
parent d35c0197f5
commit 9f03abbefe
8 changed files with 184 additions and 21 deletions
@@ -13,7 +13,7 @@ As a **player**, I want one normal crop break to harvest a connected area at a v
- [x] Normally breaking a fully grown supported crop starts auto-harvest when the player has at least Level I for that crop.
- [x] Breaking while sneaking performs normal single-crop harvesting and never starts auto-harvest.
- [x] The manually broken triggering crop is included in the operation's maximum crop count.
- [x] The manually broken triggering crop is included in the operation's maximum crop count, so Level I processes the trigger plus no more than three connected crops.
- [x] Auto-harvest traverses only fully grown crops of the same type as the triggering crop.
- [x] A crop is connected when its horizontal position touches the current crop in any of the eight directions and its Y coordinate differs from the current crop by no more than one block.
- [x] Connectivity is evaluated per link, allowing a connected operation to follow gradual rises and drops.