I am currently having a bit of a struggle. I wrote a software that uses some methods from Mojangs Minecraft Server Software.
The project is open source and I want to compile, test, etc. my project using a CI software. To build the project the CI needs the Minecraft Server Software as a library.
Mojang does not allow to distribute the decompiled Server code. Now I am wondering if I could just remove the code from all the method bodies and just upload the library without the actual code (just the classes' interfaces with method declarations, variables, etc.) and then be on the legal side.