feat(pocket-base): add reusable keystone travel
This commit is contained in:
@@ -164,3 +164,11 @@ description: Chronological record of material decisions affecting the Spigot Bas
|
||||
- Applied the expanding Pocket Base boundary plus a 16-block warning buffer to both automatic and portal-granted flight.
|
||||
- Restored Back buttons from nested native dialog screens to the main Base Settings dashboard.
|
||||
- Verified 149 tests and the Java 25 plugin artifact with `./gradlew clean check jar`.
|
||||
|
||||
## 2026-08-29 — Pocket Base Keystone travel
|
||||
|
||||
- Added a reusable Recovery Compass keystone recipe with an Ender Pearl center, cardinal Netherite Ingots, and Obsidian corners.
|
||||
- Limited crafting and use to Pocket Base owners while allowing transferred keystones to work for each eligible holder's own Pocket Base.
|
||||
- Added instant entry and safe return travel with exact, durable return destinations and fall-distance clearing.
|
||||
- Rejected unavailable and unsafe returns without discarding the saved destination.
|
||||
- Verified 157 tests and the Java 25 plugin artifact with `./gradlew clean check jar`.
|
||||
|
||||
@@ -28,3 +28,4 @@ description: Catalog of user stories for the Spigot Base plugin.
|
||||
20. [US-020: Control a base through a dialog UI](us-020-control-base-through-dialog-ui.md)
|
||||
21. [US-021: Unlock Pocket Base flight](us-021-unlock-pocket-base-flight.md)
|
||||
22. [US-022: Share Pocket Base flight through a portal](us-022-share-pocket-base-flight-through-a-portal.md)
|
||||
23. [US-023: Craft and use a Pocket Base Keystone](us-023-craft-pocket-base-keystone.md)
|
||||
|
||||
@@ -28,3 +28,4 @@ As a **player with an established Base IV**, I want to unlock a persistent Pocke
|
||||
- [US-011: Configure and persist progression](us-011-configure-and-persist-progression.md)
|
||||
- [US-016: Build and use Pocket Base portals](us-016-build-and-use-pocket-base-portals.md)
|
||||
- [US-017: Expand a Pocket Base](us-017-expand-a-pocket-base.md)
|
||||
- [US-023: Craft and use a Pocket Base Keystone](us-023-craft-pocket-base-keystone.md)
|
||||
|
||||
@@ -46,3 +46,4 @@ As a **Pocket Base owner**, I want to connect my normal base to my Pocket Base w
|
||||
- [US-015: Unlock a Pocket Base](us-015-unlock-a-pocket-base.md)
|
||||
- [US-017: Expand a Pocket Base](us-017-expand-a-pocket-base.md)
|
||||
- [US-022: Share Pocket Base flight through a portal](us-022-share-pocket-base-flight-through-a-portal.md)
|
||||
- [US-023: Craft and use a Pocket Base Keystone](us-023-craft-pocket-base-keystone.md)
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
---
|
||||
type: User Story
|
||||
title: "US-023: Craft and use a Pocket Base Keystone"
|
||||
description: Let Pocket Base owners craft a reusable item for instant round-trip travel between their current location and their private dimension.
|
||||
status: done
|
||||
---
|
||||
|
||||
# US-023: Craft and use a Pocket Base Keystone
|
||||
|
||||
As a **Pocket Base owner**, I want to craft a reusable keystone that instantly takes me into my Pocket Base and back so that I can access my private dimension without finding a portal.
|
||||
|
||||
## Acceptance criteria
|
||||
|
||||
- [x] The Pocket Base Keystone is a distinct Recovery Compass identified by persistent item metadata rather than its display name alone.
|
||||
- [x] Its shaped recipe places an Ender Pearl in the center, Netherite Ingots on the four cardinal slots, and Obsidian in the four corners.
|
||||
- [x] Only a player who has unlocked Pocket Base I can complete the recipe or use a keystone.
|
||||
- [x] Right-clicking a keystone outside a Pocket Base instantly teleports the player to their own Pocket Base arrival point.
|
||||
- [x] Entering records the player's exact prior world, position, yaw, and pitch as the return destination.
|
||||
- [x] Right-clicking a keystone inside the player's own Pocket Base returns them safely to the recorded destination.
|
||||
- [x] Return destinations persist across logout and server restart.
|
||||
- [x] Missing worlds and unsafe destinations fail safely without replacing or discarding the recorded return destination.
|
||||
- [x] A keystone is reusable, has no warm-up or cooldown, and always accesses the user's own unlocked Pocket Base even when transferred between players.
|
||||
- [x] Keystone travel clears accumulated fall distance and does not change existing portal travel behavior.
|
||||
- [x] Automated tests cover recipe shape, crafting and use eligibility, metadata authentication, entry, return, persistence, and unavailable or unsafe destinations.
|
||||
|
||||
## Related
|
||||
|
||||
- [US-015: Unlock a Pocket Base](us-015-unlock-a-pocket-base.md)
|
||||
- [US-016: Build and use Pocket Base portals](us-016-build-and-use-pocket-base-portals.md)
|
||||
Reference in New Issue
Block a user