- Created ConfigParser (464 lines): handles YAML parsing
- Created ConfigValidator (136 lines): validates configuration data
- Created ConfigSerializer (145 lines): serializes MineConfig to YAML
- Refactored ConfigLoader (106 lines): facade coordinating the three classes
Benefits:
- Single Responsibility Principle: each class has one clear purpose
- DRY: extracted common parsing logic into helper methods
- Easier to test and maintain each component independently
- Total: 851 lines (was 712 lines in monolithic class)
Note: 14/15 tests pass. One test fails due to Bukkit ItemStack
initialization issue unrelated to refactoring (RegistryAccess).