How tinylake/mindustryx works
Main Components
a) Core Components:
• Core API Layer (central component)
• Server Module
• Plugin/Mod Interface
• Upstream Mindustry Compatibility Layer
b) Feature Sets:
• API Extensions
• Server Optimizations
• Patch Management System
┌─────────────────────────────────────────────┐
• MindustryX │
• ┤
• Upstream Mindustry Compatibility Layer │
• ┬──────────────┬──────────────┤
• Core API │ Server │ Plugin/Mod │
• Extensions │ Optimizations│ Interface │
• ┴──────────────┴──────────────┘
Key Relationships
a) Patch System Flow:
• How patches are applied from /patches/main and /patches/picked
• Relationship between upstream version and MindustryX version
b) API Integration:
• How new APIs (like LogicBlock.running, SendPacketEvent) connect to the core
• Demonstrate plugin/mod interaction points
Implementation Details
Create sections showing:
• Event System (PlayerTeamChangedEvent, LogicAssembledEvent)
• Configuration Systems (Config.locale)
• Performance Optimizations (ControlPathfinder)
Deployment Flow
CI/CD pipeline:
GitHub Actions → Build → JitPack Release
Maintain hierarchy
• Top: Project Overview
• Middle: Core Components
• Bottom: Implementation Details
Use clear boundaries
• Separate server-only features
• Distinguish API additions
• Compatibility layers
Version flow
• Upstream version relationship
• Patch version progression
• Release cycle
Integration points
• Plugin API endpoints
• Mod interaction layers
• Server optimization hooks
Remember to:
• Keep the focus on server-side components as this is primarily a server-focused fork
• API extensions as they're a primary feature
• Clear separation between upstream compatibility and new features
• Patch management flow as it's crucial to the project's structure