You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moved back because I'm not sure if it's worth the effort of figuring out how the new render API works. Aaand ... for some reason I'm supposed to decompile it? What kind of API is that?
This is all taken from their website [http://www.minecraftforum.net/topic/738498-172api-player-api/]. I thought maybe you may have miss interpreted it because it's mixed with MCP.
"How do I decompile this with Minecraft Forge?
Minecraft 1.6.4 and later:
By developing with Player API core instead of Player API forge you don't need to deobfuscate at all.
Put the PlayerAPI.jar in your development environment's mods folder.
Add /PlayerAPI.jar to the classpath of your mod project.
Done.
...
Outsource your mod specific code from EntityPlayerSP.java/EntityPlayerMP.java into a new mod specific class you create a single instance for each instance of the EntityPlayer class so that only the mod class field, some hook methods and some field accessors remain in EntityPlayerSP.java/EntityPlayerMP.java.
-Let your specific mod class extend the PlayerBase class
-Make sure your mod class is registered at the PlayerAPI class before the first player instance is created. (a ModLoader mod would be a good choice here)
-Adapt all your hook listeners in your mod class to overwrite their corresponding PlayerBase methods.
-Adapt all your field accessor references with references to PlayerAPI field accessors."
Sorry if I'm completly wrong about all this (I'm new). I hope to see this supported.
No description provided.
The text was updated successfully, but these errors were encountered: