Mojang doesn\'t like people distributing unmodified .class files, source files (original, obfuscated, or deobfuscated), and, with the new launcher *modified* .class files. Why would this game be any different?
If you want to write your own tools, Oracle has an interesting document you might...