2.1 KiB
2.1 KiB
type, title, description, status
| type | title | description | status |
|---|---|---|---|
| User Story | US-018: Control Pocket Base mob spawning | Let Pocket Base owners control hostile and passive natural mob spawning independently in their private world, with both disabled by default. | done |
US-018: Control Pocket Base mob spawning
As a Pocket Base owner, I want to enable or disable hostile and passive natural mob spawning independently in my Pocket Base so that I can choose which kinds of normal mob activity its private world supports.
Acceptance criteria
- Hostile and passive natural mob spawning are both disabled by default in every new Pocket Base and in existing Pocket Bases that have no saved preference.
- A Pocket Base owner can use
/basesettings pocket mobs hostile enable|disableto control hostile natural mob spawning in their own Pocket Base. - A Pocket Base owner can use
/basesettings pocket mobs passive enable|disableto control passive natural mob spawning in their own Pocket Base. - Changing one mob category does not change the other category.
- The commands are unavailable until Pocket Base I is unlocked.
- The commands, categories, and modes are offered through contextual autocomplete.
/basesettings statusdisplays the current hostile and passive Pocket Base mob-spawning settings.- Both preferences persist across restarts and are reapplied when the Pocket Base world loads.
- Existing saved
mob-spawning-enabledvalues migrate to both category preferences, preserving prior behavior. - Disabling either natural-spawning category does not remove existing mobs or prevent explicitly spawned or summoned mobs.
- Persistence or world-application failures produce a clear failure message, restore both prior world flags, and do not report a successful change.