Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[1.7.2][API] Render Player API


  • Please log in to reply
390 replies to this topic

#1

Divisor
    Divisor

    Void Walker

  • Members
  • 1538 posts

Posted 01 June 2012 - 04:02 PM

Render Player API gives third party mods managed access to the player render classes

Render Player API is a client API which provides access to
  • the class "RenderPlayer" aka "bhj" and
  • the class "ModelBiped" aka "bbj"
while minimizing conflicts between mods.



Current Versions:

Vanilla
Will be created on demand.

Core 1.1 (for Minecraft Forge 1.7.2)
Added source package: Download from Mediafire or Dropbox




Installation:

For installation instructions:
  • make sure you download the right file:
    • Vanilla for mods on a vanilla (non Minecraft Forge) client.
    • Forge for mods on a Minecraft Forge client.
  • read the "installation" section of the API's download's readme file
Incompatibilities
  • Render Player API is compatible with Minecraft Forge, just install Render Player API after Minecraft Forge.
    WARNING this does only work before Minecraft 1.6.1.
    For Minecraft 1.6.1 and later use Render Player API forge.


FAQs:

Spoiler:



Developing:

Step by Step: Mod Adaption

Spoiler:

Step by Step: Mod Creation

Spoiler:

Example: Mod Structure

Spoiler:




Usage:

This API is currently used by the following mods:

Previous Versions:

Previous Versions (for Minecraft 1.7.2)

Core 1.0
Created Render Player API core for Minecraft 1.7.2: Download from Mediafire or Dropbox



Previous Versions (for Minecraft 1.6.4)

Spoiler:


Previous Versions (for Minecraft 1.6.2)

Spoiler:



Previous Versions (for Minecraft 1.6.1)

Spoiler:



Previous Versions (for Minecraft 1.5.2)

Spoiler:



Previous Versions (for Minecraft 1.5.1)

Spoiler:



Previous Versions (for Minecraft 1.5)

Spoiler:



Previous Versions (for Minecraft 1.4.7)

Spoiler:



Previous Versions (for Minecraft 1.4.6)

Spoiler:



Previous Versions (for Minecraft 1.4.5)

Spoiler:



Previous Versions (for Minecraft 1.4.4)

Spoiler:



Previous Versions (for Minecraft 1.4.2)

Spoiler:



Previous Versions (for Minecraft 1.3.2)

Spoiler:



Previous Versions (for Minecraft 1.3.1)

Spoiler:



Previous Versions (for Minecraft 1.2.5)

Spoiler:


Posted Image
Not Minecraft-related, I know - but the author wants more readers - and to be honest, he deserves them!

Register or log in to remove.

#2

LulzCop
    LulzCop

    Zombie Killer

  • Members
  • 236 posts
  • Location: The fiery depths of my laptop.
  • Minecraft: LulzCop

Posted 01 June 2012 - 08:34 PM

Perfect!

ded


#3

Neon_ColorsFTW22
  • Minecraft: NeonColorsAero

Posted 01 June 2012 - 10:37 PM

Awesome!

i can`t wait for mods to use this!

Posted Image


#4

DjGyarados
  • Location: Behind a screen...
  • Minecraft: DjGyarados
  • Xbox:Portugal IV

Posted 01 June 2012 - 10:48 PM

So, does that mean battlegear and smart moving will be fully compatible?
Posted Image

#5

nerd-boy
    nerd-boy

    Ghast Hunter

  • Curse Premium
  • Curse Premium
  • 2975 posts

Posted 02 June 2012 - 12:40 AM

Congratulations Divisor on getting this out, it should really help out many mods in the compatibility department.

View PostDjGyarados, on 01 June 2012 - 10:48 PM, said:

So, does that mean battlegear and smart moving will be fully compatible?

They will be compatible when I finish tweeking a few things and get the capes to render correctly. Expect a Mine & Blade: Battlegear release tonight

Posted Image


#6

mccahon
    mccahon

    Iron Miner

  • Members
  • 268 posts
  • Minecraft: mccahon

Posted 02 June 2012 - 08:54 AM

After installing this API it messed up some other mods.  Worked great till this API.  Using Forge Recommended 108 and Player API.
Equivalent Exchange 2
Spoiler:
Industrial Craft 2
Spoiler:

Posted Image

#7

Divisor
    Divisor

    Void Walker

  • Members
  • 1538 posts

Posted 02 June 2012 - 08:56 AM

View Postmccahon, on 02 June 2012 - 08:54 AM, said:

After installing this API it messed up some other mods.

Spoiler:

Spoiler:
It would be nice to know which mods you are referring to here. (also see FAQ#1)
Posted Image
Not Minecraft-related, I know - but the author wants more readers - and to be honest, he deserves them!

#8

mccahon
    mccahon

    Iron Miner

  • Members
  • 268 posts
  • Minecraft: mccahon

Posted 02 June 2012 - 08:59 AM

View PostDivisor, on 02 June 2012 - 08:56 AM, said:

It would be nice to know which mods you are referring to here. (also see FAQ#1)

Equivalent Exchange 2

Industrialcraft 2

and Minefactory reloaded, something about rendering the animations on blocks(lost the report)
Posted Image

#9

alonzothegreat
  • Location: Israel

Posted 02 June 2012 - 09:23 AM

Mods loaded: 26
ModLoader 1.2.5
mod_LittleBlocks 1.13
mod_MinecraftForge 3.1.2.90
mod_ModLoaderMp 1.2.5v1
mod_SmartMoving 7.8
mod_SpawnerGUI 1.2.5
mod_TooManyItems 1.2.5 2012-04-07
mod_ShipsAndBoats 0.10
mod_MineAndBlade Mine & Blade: Battlegear - 2.7.6.2 [1.2.5]
mod_UpdateManager by Vazkii. Version 1.2
mod_Somnia v24 [1.2.5]
mod_airship Airships V2.5 for Post-Release: 1.2.3
mod_Backpack 1.2.5_v2.5 FML
mod_betterDungeons 0.932
mod_BuildCraftCore 3.1.5
mod_BuildCraftBuilders 3.1.5
mod_BuildCraftEnergy 3.1.5
mod_BuildCraftFactory 3.1.5
mod_BuildCraftTransport 3.1.5
mod_BuildCraftSilicon 3.1.5
mod_CCTurtle 1.33
mod_ComputerCraft 1.33
mod_CraftGuide 1.4.3 for Minecraft 1.2.3
mod_mocreatures v3.6.1 (MC 1.2.5)
mod_Flan v1.4
mod_Invasion 0.9.4
	  Minecraft has crashed!	
	  ----------------------	
Minecraft has stopped running because it encountered a problem.


--- BEGIN ERROR REPORT 711741e8 --------
Generated 12:17 02/06/12
Minecraft: Minecraft 1.2.5
OS: Windows 7 (x86) version 6.1
Java: 1.6.0_31, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: GeForce 210/PCI/SSE2/3DNOW! version 3.3.0, NVIDIA Corporation
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at ModLoader.addMod(ModLoader.java:294)
at ModLoader.readFromModFolder(ModLoader.java:1276)
at ModLoader.init(ModLoader.java:887)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at we.<clinit>(we.java:1119)
at ahu.<init>(ahu.java:43)
at ahu.<clinit>(ahu.java:8)
at net.minecraft.client.Minecraft.a(Minecraft.java:394)
at net.minecraft.client.Minecraft.run(Minecraft.java:732)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at java.util.Arrays$ArrayList.<init>(Unknown Source)
at java.util.Arrays.asList(Unknown Source)
at ModLoader.addArmor(ModLoader.java:221)
at mod_Millenaire.<clinit>(mod_Millenaire.java:66)
... 19 more
--- END ERROR REPORT 34bc12ef ----------
I think millenaire is also not competible with this mod

<spoiler>Mods loaded: 26
ModLoader 1.2.5
mod_LittleBlocks 1.13
mod_MinecraftForge 3.1.2.90
mod_ModLoaderMp 1.2.5v1
mod_SmartMoving 7.8
mod_SpawnerGUI 1.2.5
mod_TooManyItems 1.2.5 2012-04-07
mod_ShipsAndBoats 0.10
mod_MineAndBlade Mine & Blade: Battlegear - 2.7.6.2 [1.2.5]
mod_UpdateManager by Vazkii. Version 1.2
mod_Somnia v24 [1.2.5]
mod_airship Airships V2.5 for Post-Release: 1.2.3
mod_Backpack 1.2.5_v2.5 FML
mod_betterDungeons 0.932
mod_BuildCraftCore 3.1.5
mod_BuildCraftBuilders 3.1.5
mod_BuildCraftEnergy 3.1.5
mod_BuildCraftFactory 3.1.5
mod_BuildCraftTransport 3.1.5
mod_BuildCraftSilicon 3.1.5
mod_CCTurtle 1.33
mod_ComputerCraft 1.33
mod_CraftGuide 1.4.3 for Minecraft 1.2.3
mod_mocreatures v3.6.1 (MC 1.2.5)
mod_Flan v1.4
mod_Invasion 0.9.4

  Minecraft has crashed!   
  ----------------------   

Minecraft has stopped running because it encountered a problem.




--- BEGIN ERROR REPORT 711741e8 --------
Generated 12:17 02/06/12

Minecraft: Minecraft 1.2.5
OS: Windows 7 (x86) version 6.1
Java: 1.6.0_31, Sun Microsystems Inc.
VM: Java HotSpotâ„¢ Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: GeForce 210/PCI/SSE2/3DNOW! version 3.3.0, NVIDIA Corporation

java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at ModLoader.addMod(ModLoader.java:294)
at ModLoader.readFromModFolder(ModLoader.java:1276)
at ModLoader.init(ModLoader.java:887)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at we.<clinit>(we.java:1119)
at ahu.<init>(ahu.java:43)
at ahu.<clinit>(ahu.java:8)
at net.minecraft.client.Minecraft.a(Minecraft.java:394)
at net.minecraft.client.Minecraft.run(Minecraft.java:732)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at java.util.Arrays$ArrayList.<init>(Unknown Source)
at java.util.Arrays.asList(Unknown Source)
at ModLoader.addArmor(ModLoader.java:221)
at mod_Millenaire.<clinit>(mod_Millenaire.java:66)
... 19 more
--- END ERROR REPORT 34bc12ef ----------

and can someone tell me hew to do spoiler?

#10

Lolhoofd97
  • Location: Nieuw Lekkerland/The Netherlands
  • Minecraft: lolhoofd97
  • Xbox:Kidding me?

Posted 02 June 2012 - 09:25 AM

Looking good!
Posted Image

#11

BoyBlade
    BoyBlade

    Tree Puncher

  • Members
  • 17 posts

Posted 02 June 2012 - 10:01 AM

Spoiler:

It exloding!!!
Hm... all error I read... "ModLoader.addArmor" always there. Something wrong with this?

Error at IC2, Millenaire... not testing other mod yet.

#12

metalearz

Posted 02 June 2012 - 10:05 AM

View PostBoyBlade, on 02 June 2012 - 10:01 AM, said:

Spoiler:

It exloding!!!
Hm... all error I read... "ModLoader.addArmor" always there. Something wrong with this?

Error at IC2, Millenaire... not testing other mod yet.

yeah someone already reported and i think divisor is working on it now..

#13

nerd-boy
    nerd-boy

    Ghast Hunter

  • Curse Premium
  • Curse Premium
  • 2975 posts

Posted 02 June 2012 - 10:24 AM

Battlegear now officially uses this API.

View Postmetalearz, on 02 June 2012 - 10:05 AM, said:

yeah someone already reported and i think divisor is working on it now..

Just give him time, remember he may also be sleeping. I may have come up with a potential fix, but I would rather wait for Divisor (I PM'd him)

Posted Image


#14

metalearz

Posted 02 June 2012 - 10:38 AM

View Postnerd-boy, on 02 June 2012 - 10:24 AM, said:

Battlegear now officially uses this API.



Just give him time, remember he may also be sleeping. I may have come up with a potential fix, but I would rather wait for Divisor (I PM'd him)

yes of course, geniuses sleeps too. XD

#15

AnonymousProductions
  • Location: Australia
  • Minecraft: Galactic_Hiker

Posted 02 June 2012 - 11:36 AM

add mineFantasy to the soon-to-be used
Posted Image

#16

DjGyarados
  • Location: Behind a screen...
  • Minecraft: DjGyarados
  • Xbox:Portugal IV

Posted 02 June 2012 - 04:14 PM

View PostAnonymousProductions, on 02 June 2012 - 11:36 AM, said:

add mineFantasy to the soon-to-be used
Glad to hear, now I can finally use all three together. :D
Posted Image

#17

Neon_ColorsFTW22
  • Minecraft: NeonColorsAero

Posted 02 June 2012 - 04:31 PM

It looks like ore mods are having the issue with this API

Espically ones that use forge

Posted Image


#18

MineHaxzor
  • Minecraft: Slayhaxzor

Posted 02 June 2012 - 04:39 PM

Looking good! Keep up the good work!

#19

Divisor
    Divisor

    Void Walker

  • Members
  • 1538 posts

Posted 02 June 2012 - 05:35 PM

Released version 1.1 - Fixed exception when calling "ModLoader.addArmor" during ModLoader startup.

Thanks to everyone for installing this API in many different environments.
Posted Image
Not Minecraft-related, I know - but the author wants more readers - and to be honest, he deserves them!

#20

groundhogbaby

Posted 02 June 2012 - 07:38 PM

it starts now but now there's a bug where when you do something go lose hunger it keeps shaking and you keep losing hunger

seems to be working fine now