--- type: User Story title: "US-016: Build and use Pocket Base portals" description: Let an owner create one public portal between their normal base and persistent Pocket Base. status: done --- # US-016: Build and use Pocket Base portals As a **Pocket Base owner**, I want to connect my normal base to my Pocket Base with a public portal so that I and other players can move between them naturally. ## Acceptance criteria - [x] The entrance uses a standard 4-by-5 outer frame with a 2-by-3 interior and a configurable frame material that defaults to diamond blocks. - [x] Only the Pocket Base owner can activate a complete entrance frame with flint and steel. - [x] Every required frame block must be within the owner's current normal-base bounds when the entrance is activated. - [x] Custom particles and collision provide portal-like visuals and travel without relying on vanilla Nether portal blocks. - [x] Each owner has at most one active entrance portal. - [x] Activating another valid entrance deactivates the previous entrance without removing its frame blocks. - [x] Breaking any required frame block immediately deactivates the entrance. - [x] Any player can use an active entrance without a separate visitor setting, warm-up, or cooldown. - [x] Non-player living mobs entering an active entrance portal are teleported into that Pocket Base. - [x] Portal cooldown handling prevents transported mobs from immediately bouncing back. - [x] Items, projectiles, vehicles, and other non-living entities are not transported. - [x] Visitors can build, break blocks, open containers, and otherwise interact normally inside the Pocket Base. - [x] The generated return portal sends players safely to the owner's active entrance. - [x] Non-player living mobs entering the active, intact return portal are teleported safely outside the normal-world entrance. - [x] Mob return travel falls back safely to the server spawn when the owner has no valid normal-world entrance. - [x] Only the owner can activate a complete portal frame inside their own Pocket Base with flint and steel. - [x] Every required return-frame block must be within the owner's unlocked Pocket Base boundary. - [x] Each Pocket Base has at most one active return portal, and activating another valid frame moves the active return location without removing the old frame. - [x] Relocated return portals persist through restarts, while existing Pocket Bases use the generated portal as their default. - [x] Breaking the active return frame disables return travel through it. - [x] Return travel falls back to the server spawn when the owner has no valid normal-world entrance. - [x] Falling below Y -64 performs the same safe return without void damage. - [x] Portal and void-return travel clears accumulated fall distance so players do not take carried-over fall damage after landing at the destination. - [x] Players who disconnect inside a Pocket Base remain there when they reconnect. - [x] Moving the normal base deactivates its entrance while preserving the Pocket Base world and its contents. - [x] Portal ownership and the active entrance location persist through restarts. - [x] A separate active gold-block portal inside an owner's Pocket Base can grant temporary controlled flight after raid-earned flight is unlocked. ## Related - [US-003: Expand the base](us-003-expand-the-base.md) - [US-008: Unlock Base IV visitor access](us-008-unlock-visitor-access.md) - [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)