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.
Only one way to find out: set paramString to "deadmau5" and see what it does. It seems like it has something to do with multiplayer, so try joining a server after running it.
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.
-------EDIT--------
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.
You managed to decompile and continue without me giving source code? O_O Bro, you are a god. Of course do whatever the [REDACTED] you want!!!! Good luck on it
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 9.10.0.800) 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
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.
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.
-------EDIT--------
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.
What's that? Like I said, I'm relatively new to java, and I've only started taking apart minecraft yesterday.
http://mcp.ocean-labs.de/index.php/MCP_Releases
This is Deadmau5 in minecraft:
Thats probably why he is declared twice in minecraft code: RenderLiving and RenderPlayer.
Basically, he have ears...
It "renderEars" twice, in the loop.
Doesn't matter, I use it (by way of forge 9.10.0.800) and it still shows up in my code.
Patreon
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