feat(sort): add craftable sorting stick
CI / build (push) Successful in 1m14s
Release / release (push) Successful in 2m11s

This commit is contained in:
dmg
2026-09-04 11:48:09 -04:00
parent ad29db0a79
commit 848f5c643f
9 changed files with 344 additions and 9 deletions
+6
View File
@@ -25,6 +25,12 @@ description: Chronological record of material decisions affecting the Spigot Inv
- Added Gitea CI, conventional-commit validation for pull requests, development artifacts, semantic releases, and release-asset upload.
- Verified `./gradlew clean check jar`, successful main and tag CI runs, and release `v1.0.0` with `spigot-inventory-helper-1.0.0.jar` attached.
## 2026-09-04 — Sorting Stick completed
- Added a gold-named, glinting Sorting Stick authenticated by persistent item metadata.
- Registered equivalent chest and barrel recipe variants matching the approved center-column shape.
- Verified recipe specification, registration, output, item appearance, identity, and renamed-stick rejection with automated tests and `./gradlew clean check jar`.
## 2026-09-04 — Implementation started
- Approved implementation begins with the tested Gradle and Purpur foundation, followed by the Sorting Stick, inventory sorting, and automatic tool replacement.
@@ -2,7 +2,7 @@
type: User Story
title: "US-002: Craft a Sorting Stick"
description: Let players craft a recognizable utility item that invokes inventory sorting.
status: in-progress
status: done
---
# US-002: Craft a Sorting Stick
@@ -11,14 +11,14 @@ As a **player**, I want to craft a recognizable Sorting Stick so that I can invo
## Acceptance criteria
- [ ] The plugin registers a vertical shaped recipe with a Chest or Barrel above Redstone Dust and Redstone Dust above a Stick.
- [ ] The three ingredients occupy the center column of the 3×3 crafting grid.
- [ ] Either the Chest or Barrel recipe variant produces one Sorting Stick.
- [ ] The Sorting Stick has a distinct player-facing name and appearance.
- [ ] The item is identified using persistent item metadata rather than its display name alone.
- [ ] Renamed ordinary sticks cannot trigger sorting.
- [ ] Automated tests cover recipe registration, the exact shape, both storage-block variants, output quantity, and resulting item identity.
- [ ] The crafting recipe and both accepted variants are documented for players.
- [x] The plugin registers a vertical shaped recipe with a Chest or Barrel above Redstone Dust and Redstone Dust above a Stick.
- [x] The three ingredients occupy the center column of the 3×3 crafting grid.
- [x] Either the Chest or Barrel recipe variant produces one Sorting Stick.
- [x] The Sorting Stick has a distinct player-facing name and appearance.
- [x] The item is identified using persistent item metadata rather than its display name alone.
- [x] Renamed ordinary sticks cannot trigger sorting.
- [x] Automated tests cover recipe registration, the exact shape, both storage-block variants, output quantity, and resulting item identity.
- [x] The crafting recipe and both accepted variants are documented for players.
## Related