How whiteecattt/auction-house works
Main Components
A. Behavior Pack (BP)
• Database Layer
• Core Functions
• UI Management
• Configuration System
B. Resource Pack (RP)
• UI Definitions
• Textures
• Form Layouts
Component Relationships
[Resource Pack Layer]
• ↓
[UI Management Layer]
• ↓
[Core System Layer]
• ↓
[Database Layer]
Detailed Component Breakdown
A. Database Layer (Bottom):
• Connection to the database.js handler
• Data flow for item storage and retrieval
B. Core System Layer (Middle):
• Time Management (expiredTime.js)
• Score Management (getScore.js)
• Number Formatting (formatNumber.js, toRomanNumber.js)
• UI Control (forceShow.js)
• To both database and UI layers
C. UI Management Layer (Upper-Middle):
• ChestUI Component:
• Forms Handler
• Type Management
• Bidirectional connection to core system
D. Resource Pack Layer (Top):
• UI Definitions
• Form Layouts
• Texture Resources
Flow Indicators
• Data flow between database and core system
• User interaction flow through UI
• Configuration impact on system behavior
• Resource pack integration with UI system
Additional Elements
Specific features as sub-components:
• Auction Management System
• Item Search Functionality
• Player Listings Management
• Expiration Handler
→ Data Flow
⟲ System Process
⟶ User Interaction
● Active Component
○ Passive Component