xiaozi core
A lightweight memory monitoring and crash prevention mod for Minecraft Fabric.
Features
- Real-time memory monitoring (2-second intervals)
- Tiered warnings (75% yellow / 85% orange / 95% red)
- HUD top warning bar
- Chat notifications
- Emergency auto-save
- Force exit protection
🛠️ Installation
- Install Fabric Loader
- Download the corresponding version of Fabric API
- Put the
.jar file into .minecraft/mods folder
- Launch the game
⚙️ Configuration
After first launch, the configuration file is generated at config/xiaozi_core.json:
```json
{
"checkIntervalSeconds": 2, // Detection interval (seconds)
"warningThresholdPercent": 75, // Warning threshold (%)
"criticalThresholdPercent": 85, // Critical threshold (%)
"emergencyThresholdPercent": 95, // Emergency threshold (%)
"emergencyCountdownSeconds": 10, // Emergency countdown (seconds)
"autoSaveOnEmergency": true, // Auto-save on emergency
"showHudWarning": true, // Show HUD warning bar
"showChatWarning": true, // Show chat warnings
"debugLogging": false // Debug logging
}