This means your mod won’t accidentally crash the game, and it makes it much easier to troubleshoot errors. If your mod crashes or causes an error, SMAPI will intercept the error, show the error details in the console window, and in most cases automatically recover the game. SMAPI detects and fixes mod code broken by a game update in common cases. That lets you write mod code without worrying about the differences between the Linux/Mac/Windows versions of the game. Rewrite your mod for crossplatform compatibility when it’s loaded.There are simplified APIs for game asset/data changes, player configuration, translation, reflection, etc. Provide APIs and events which let you interact with the game in ways you otherwise couldn’t.Code mods aren’t possible without SMAPI to load them. SMAPI does a lot for you! For example, SMAPI will… NET Framework, and Stardew Valley uses XNA/MonoGame for the game logic (drawing to the screen, user input, etc). The mod can respond when something happens in the game (like when an object is placed in the world), run code periodically (like once per update tick), change the game’s assets and data, etc. A SMAPI mod uses the SMAPI modding API to extend the game logic.