I'd like to create a mod that changes the player model. I found the RenderPlayerAPI on this forums but I've no clue on how to use it.
On the forum page it said how to install it and how to adapt my mod to it, but that's not clear.
I don't know how to register my RenderPlayer Class.
But then when I launch the game it crashes. When I remove this line it doesn't.
Does someone know how to use it or can somebody give me a link to a good tutorial ?
I would like to help you, but I need the code that is in the RenderPlayer class. I can't find it, so if you have any idea where it is located, please tell me
I did find the ModelPlayer.java and the ModelRenderer file in the package net.minecraft.client.model (which you can find at: build/tmp/recompileMc/sources)
I hope you'll find something usefull in there.
This is irrelevant information. I thought you asked for help with creating a custom model for the player. Sorry.
When it's the last day before a test:
First of all, if you have a crash, post the error log. It usually will say exactly what your problem is, then it is easy to fix.
Secondly, looking at your code, the "modid" isn't correct unless your mod's ID is actually "modid". What is your actual mod ID string?