fix(progress): count logs from disrupted trees
Release / release (push) Successful in 2m16s
CI / build (push) Successful in 59s

This commit is contained in:
dmg
2026-08-11 18:35:04 -04:00
parent e7a5a14529
commit f26b7d0f0d
6 changed files with 27 additions and 8 deletions
@@ -13,7 +13,11 @@ As a **survival player**, I want to unlock Tree Feller by practicing with each t
- [x] Progress is tracked independently for oak, spruce, birch, jungle, acacia, dark oak, mangrove, cherry, pale oak, crimson fungi, warped fungi, giant red mushrooms, and giant brown mushrooms as represented by Spigot 26.2 materials.
- [x] Azalea-grown oak logs contribute to oak progress, and bamboo does not contribute to any tree species.
- [x] A block contributes progress when a player manually breaks it in Survival mode from a structure that passes Tree Feller's tree validation, regardless of whether the player uses an axe, another tool, or an empty hand.
- [x] A manually broken unstripped natural trunk material with an unambiguous species contributes Survival progress even when the remaining structure no longer passes full tree validation.
- [x] Natural trunk materials include the supported `*_LOG`, `CRIMSON_STEM`, and `WARPED_STEM` blocks; wood, hyphae, stripped variants, and bamboo do not contribute.
- [x] Giant mushroom stems contribute only when surrounding cap context allows Tree Feller to distinguish red from brown.
- [x] Player-placed blocks using an otherwise qualifying natural trunk material contribute because Spigot does not expose reliable generation provenance.
- [x] A qualifying block contributes regardless of whether the player uses an axe, another tool, or an empty hand.
- [x] Creative-mode breaks, cancelled breaks, and blocks removed by automatic felling do not contribute progress.
- [x] Each qualifying manually mined block contributes exactly one point to its species.
- [x] Each species has an independently configurable unlock threshold that defaults to 100 blocks.