Releases: otectus/DangerousStructures
Releases · otectus/DangerousStructures
v1.1.1 — Bug Fixes, Performance, and Code Quality
Bug Fixes
- Fixed double armor and fire resistance application on periodic spawns
- Fixed elite mobs always persisting regardless of
persistentMobsconfig - Fixed
/ds infodisplaying "128 block range" when the actual search radius is 64 blocks - Fixed
/ds debugtoggle reverting silently on config reload
Performance
- Optimized entity counting — no longer fetches items, XP orbs, and arrows just to count monsters
- Switched
/ds listdeduplication to O(1) lookup - Increased pack spawn floor-finding retries from 4 to 8
Config Changes
- Breaking: Renamed
sunlightImmunitytofireImmunity— existing configs withsunlightImmunity = falsewill need to re-setfireImmunity = false - Added documentation for
useVanillaSpawnWeights+dimensionSpecificMobsdependency - Added documentation for initial population ignoring
minPlayerDistance
New Features
- Added
/ds validatecommand — re-runs config validation and reports issues in chat - Added debug logging for periodic spawn position failures
Code Quality
- Decomposed
TickSpawnHandler(819 → 595 lines) intoSpawnPositionFinder,MobSelector,MobEnhancer - Extracted magic numbers to named constants
- Added JUnit 5 unit tests
- Thread-safe
populatedStructuresset - Unmodifiable API internal set
Full changelog: CHANGELOG.md