I'm de-obfuscating MineCraft's source code right now, and while exploring, I found an odd bit of code where "deadmau5" is mentioned. It doesn't look like a terrain generation code, after all, it imports the "net.minecraft.client.Minecraft;" class. There is also a reference to "misc/glint.png" in the code as well. I'll post a screen cap.
I'm relatively new to java, and only started de-obfuscating yesterday, so I have no idea what most of the code does (yet). Does anyone know what this code does? I'm awfully curious, and I would greatly appreciate the help.
I checked out its subclasses, and there are references on rendering all the mob.
So far I've found references to the snowman class, the wolf class, zombie class, and spider class, and I'm still looking. I've also found another "deadmau5" reference in a subclass that also mentions all the armor types, and it imports the same class as the original reference.
Most of the subclasses import org.lwjgl.opengl.GL11, so I know it has something to do with rendering.
On a side note: eclipse won't allow me to modify some class names. It only seems to be the ones that import openGL, but not all openGL imports do this.
would it kill you to use mcp? :smile.gif:
What's that? Like I said, I'm relatively new to java, and I've only started taking apart minecraft yesterday.
Wow, I just ran into that the other day, glad to see I'm not crazy
Doesn't matter, I use it (by way of forge 126.96.36.1990) and it still shows up in my code.
not sure why this was resurrected and i feel like it shouldn't have been, but i meant it would have saved him a lot of time because mcp decompiles and deobfuscates the code for you, which is what he was doing