Even newer: source code up at Google Code
McMod is a project that a friend and I have been working on for the past week or so. It's a 'mod', but not in the mold of already existing mods. Rather, it's a modified Minecraft loader that uses the ObjectWeb ASM bytecode manipulation framework to modify its classes at runtime (injecting 'get' and 'set' methods for identified fields), allowing custom modifications to be built using an easy-to-use API for end users.
Soo... in English please?
All this is powered by an auto-updater, which runs in seconds. So, mods that use our API will be instantly compatible with new Minecraft client versions. That is, if stuff doesn't break. Which it shouldn't. At least, I hope not.
As of today, January 8 2011, we have the following mods implemented as base/test mods:
- [*:2lavgfuv]Item spawning and inventory clearing
[*:2lavgfuv]Constant daytime (never turns night)
[*:2lavgfuv]Flying and speed increase cheats
[*:2lavgfuv]'Super farmer' option which teleports mobs to you and kills them so you can get resources
[*:2lavgfuv]Invincibility (can't get hurt, die from falling, or drown)
[*:2lavgfuv]OpenGL render callback (string drawing, UI components, etc)
Those are all cheats! What about creative mods?
Our API will also include functions for creating and modifying new block types and changing game mechanics. And, in the event we don't have something, you can always directly get it from Minecraft using our interface.
Well, how can I help?
To quote the other developer, Alkaline,
"Anything that the mod doesn't have, please request for it to be added and we will add it in there as soon as we possibly can. To aid in the hooks being added faster, you could tell us how you manually find them, or just give us the current field(s)/method(s). Then we will find a bytecode pattern to match it."
We want to hear your ideas/questions/comments/concerns/confessions!
We think this is already a pretty decent project, but we want it to be even better. And who better to give us ideas than our future users? If you want to talk to us, you are welcome to join IRC. Or simply post on this thread. That's what it's for.
Screenshots nao pl0x!!
Truth is, there isn't much to screenshot yet. But, I took some anyway.
Title screen special touch
Chaos after using super farmer
Fried, or sunny side up? Heck, have 2, we have lots...
That's it. Have fun with McMod and remember to suggest stuff to us, so we can better suit you, the users.
Yours in mining and crafting,