> Installing mods is done by copying compiled .class files into the client .jar
This is no longer true, except for Forge. What you're talking about is the old-style mod system, which has been obsolete for some number of years; nowadays they're dynamically linked from iterating over the mods/ folder.