Overview of Mindustry Data Patches (DP)
Data Patches (DP), formerly known as Content Patches, allow developers to modify existing fields of objects (blocks, units, items, liquids, statuses, weather, etc.) in the base game or other mods using Hjson/JSON files.
Best used for:
- Balance patches (damage, health, cost, production time).
- Custom game modes (weaponry, recipes, ammo).
- Map or server-specific rules.
- Modifying textures, display names, and icons.
Limitations:
- Cannot add entirely new game mechanisms.
- Cannot change the type of a block (e.g., turning a wall into a turret).
- Cannot rewrite Java initialization logic.
- Some derived values (calculated from other fields) may not update automatically.