Before we dive in, cheating in Satisfactory isn't as simple and straightforward as we might hope. There are a variety of ...
To write generic code for all versions, use the mystery-mod-addon as source set for that. If you want to use version specific code, then use the version module.