Understand FallenPatch for Mod Compatibility
What FallenPatch Does
FallenPatch is a runtime patching system that allows mods to modify game code without directly editing base files. Instead of multiple mods making conflicting changes to the same class, FallenPatch hooks into specific classes or their subclasses to apply changes cleanly.
How It Reduces Conflicts
When several mods need to alter the same game mechanic, traditional approaches cause crashes or unpredictable behavior. FallenPatch centralizes these modifications through a single injection point, preventing duplicate edits and version mismatches.
Configuration Through JSON
Mods depending on Fallen Lib define their patches in JSON configuration files. These files specify which classes to target, version requirements, and what code modifications to apply. The mod reads these at runtime and applies patches automatically.
Player Perspective
You don't manually configure FallenPatch—it works behind the scenes. Simply install mods that use it alongside Fallen Lib. If patches fail to load, check mod compatibility and version alignment in your logs.