Understand How ShatterLib Powers Companion Mods
What ShatterLib Does Behind the Scenes
ShatterLib is a library mod—it doesn't add content directly. Instead, it provides essential backend infrastructure that other mods depend on. When you install a mod that requires ShatterLib, this library handles shared logic so the companion mod can focus on its unique features.
Configuration and Data Handling
Companion mods use ShatterLib's YAML configuration system to manage their settings cleanly. Instead of each mod reinventing configuration handling, they rely on ShatterLib's serialization and validation tools. This keeps your config files organized and prevents conflicts.
Preventing Game Errors
ShatterLib's automatic data checks catch configuration mistakes before they crash your game. It validates file formats, checks for missing required settings, and ensures data types match expectations. This safety layer means companion mods run more reliably.
Installation Note
If a mod requires ShatterLib, install this library first. Your game will load faster and more smoothly because shared code runs once instead of being duplicated across multiple mods.