Jump to content

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

[1.7.2][SP|MP] AnimationAPI - Animate your entities! [v1.2.1]

animation api

  • Please log in to reply
41 replies to this topic

#1

thehippomaster21

Posted 16 June 2013 - 06:01 AM

the AnimationAPI

by thehippomaster21




Have you searched for hours and hours, looking for a way to properly animate your entities? Well look no further! The AnimationAPI is a mini-library that allows modders to (more) easily animate their entities.



Information
Although the AnimationAPI is supposed to be easier for modders to use, it still is quite complicated, so a tutorial has been made to guide you modders along the way. For other information, you can check the rest of the wiki.



Examples
Can't believe unless you see it? Check out these photos and a video by ThnxCya of some of my animated mutant creatures.
Spoiler:



Known Mods
If your mod uses the AnimationAPI, PM me, and I'll add it. The following mods use the AnimationAPI:
Mutant Creatures Mod
Animated Player Mod
Quest
Lycanite's Mobs
Magical Talismans Mod
Better Horses Mod



Installation
For users:
Posted Image  Locate .minecraft
>> Posted Image Click Start and type %appdata% into the Search area
>> Posted Image Click the folder that is called Roaming
>> Posted Image Find the folder inside called .minecraft
Posted Image  Move the mod zip file to .minecraft/mods
Posted Image  Play!

For modders:
Posted Image Download the src files
Posted Image Extract the src zip
Posted Image Move the folder called 'thehippomaster' inside MCP's src/minecraft/ directory
Posted Image Animate your entities!



Download
AnimationAPI v1.2.1 mc1.7.2 | (src)
AnimationAPI v1.1.2 mc1.6.4 | (src)
AnimationAPI v1.1.1 mc1.6.2 | (src)
AnimationAPI v1.0.0 | (src)

Requires Forge. Please note the AnimationAPI must be installed in servers as well.



Changelist
v1.2.1:
* added a setScale method for ModelObjRenderer
v1.2.0:
* added ModelJoint class
* added ModelObjRenderer class
v1.1.3:
~updated to mc1.7.2
v1.1.2:
~updated to mc1.6.4
v1.1.1:
~added a getEntity method accessor
v1.1.0:
~updated to mc1.6.2
~added a boolean return type for setAnim() for convenience
~fixed some animation issues
~repositioned some files
v1.0.0:
~initial release



Other Mods
Check out my other mods here!



Copyright
Spoiler:



Enjoy, and click the Posted Image if you do!

Register or log in to remove.

#2

Syclone903

Posted 16 June 2013 - 10:25 AM

Awesome! I can't tell you how long I've waited for someone like you to come along! I am not a modder but I have always wanted animations in minecraft to change. Thanks!

Posted Image


#3

ITrAnEI
    ITrAnEI

    Carpenter

  • Members
  • 62 posts
  • Location: Russia
  • Minecraft: Tr4nE

Posted 16 June 2013 - 10:26 AM

Hmm, nice. I think its very useful for modding beginners.
'Sorry for my bad English, Im from Russia.  ~~Trane
Posted Image

#4

Blfngl
    Blfngl

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 464 posts
  • Location: Climbin' through yo windows...
  • Minecraft: blfngl
  • Xbox:blfngl

Posted 16 June 2013 - 03:21 PM

Pretty cool! I really enjoy using this 7:^)
Posted Image

#5

thehippomaster21

Posted 16 June 2013 - 03:51 PM

Thanks guys :)
We'll see if more people use the API, because it IS fairly complicated for most modders.

#6

jpg
    jpg

    Stone Miner

  • Members
  • 99 posts
  • Minecraft: jpg12345

Posted 16 June 2013 - 04:24 PM

Awesome!

#7

Pugin94
    Pugin94

    Redstone Miner

  • Members
  • 599 posts
  • Location: Playing Minecraft...on your computer.
  • Minecraft: Kinda obvious...

Posted 16 June 2013 - 10:26 PM

How do you use this? Do you have to be a modder to create your own animations? Or can you be a user and install it in the mods folder?

Also, when I put it in the mods folder, it says I have it, but nothing happens.

Awesome mod. :D
Posted Image
[==========================================]
[I am the leader and creator of the Sheep Bros™]
[==========================================]

#8

AlienXtream
  • Minecraft: AlienXtream

Posted 17 June 2013 - 01:18 AM

View PostPugin94, on 16 June 2013 - 10:26 PM, said:

How do you use this? Do you have to be a modder to create your own animations? Or can you be a user and install it in the mods folder?

Also, when I put it in the mods folder, it says I have it, but nothing happens.

Awesome mod. Posted Image

Pugin94, this "mod" dosnt actualy do any thing on its own. its an api, a bunch of files for mod makers to use. this may not sound like anything interesting but it is. take this example

you have "Mod A" and it overrides or replaces files x and z in the minecraft jar, but u also want "Mod B" and it overrides files y and z. this is where u have an issue, because both mods change file z if you install them both then one of the mods will complain because it cannot find the information its after. what the api dose is add "HOOKS". these hooks basicley (from what i can gather) says to the mods "Hey, you want to edit this file? tell me what you want to edit and i execute the code when it is needed". so instead of replacing the file, the api executes or runs the code. the advantage of this is Mod A AND B can both use the same hooks without any problems

#9

Pugin94
    Pugin94

    Redstone Miner

  • Members
  • 599 posts
  • Location: Playing Minecraft...on your computer.
  • Minecraft: Kinda obvious...

Posted 17 June 2013 - 02:00 AM

View PostAlienXtream, on 17 June 2013 - 01:18 AM, said:

Pugin94, this "mod" dosnt actualy do any thing on its own. its an api, a bunch of files for mod makers to use. this may not sound like anything interesting but it is. take this example

you have "Mod A" and it overrides or replaces files x and z in the minecraft jar, but u also want "Mod B" and it overrides files y and z. this is where u have an issue, because both mods change file z if you install them both then one of the mods will complain because it cannot find the information its after. what the api dose is add "HOOKS". these hooks basicley (from what i can gather) says to the mods "Hey, you want to edit this file? tell me what you want to edit and i execute the code when it is needed". so instead of replacing the file, the api executes or runs the code. the advantage of this is Mod A AND B can both use the same hooks without any problems

Oh ok. Thanks.
Posted Image
[==========================================]
[I am the leader and creator of the Sheep Bros™]
[==========================================]

#10

Syclone903

Posted 17 June 2013 - 04:37 PM

Dude. You absolutely HAVE to make a parkour mod with animations. I won't take no for an answer, and not like smart moving. I don't consider smart moving a parkour mod like some people do, because it just helps you get around better. I mean an actual one with rolling, proper wall jumping, momentum etc. It will be extremely awesome, not to mention it will get a lot of downloads (no parkour mods especially with animations out right now).

Please.

Please.

PLEASE!

Posted Image


#11

BusaniX
    BusaniX

    Out of the Water

  • Members
  • 5 posts

Posted 25 June 2013 - 04:50 PM

I am a new modder, and this API is fantastic for me.
I'm using Techne to make my models, (an arm, for example) but I can't use different positions of a already made MC Mob image as a texture.
Can anyone help me?
Posted Image
Also, how do I use the own player's skin?

#12

k4isarpendriv3
  • Minecraft: FrostyFroster

Posted 08 July 2013 - 11:33 AM

can you make some tutorials :/
Posted Image

#13

savictor55
  • Minecraft: savictor55

Posted 09 July 2013 - 08:06 PM

plz plz plz update to 1.6.2 plz plz plz

#14

MincraftWero
    MincraftWero

    Lapis Lazuli Collector

  • Curse Premium
  • Curse Premium
  • 1066 posts
  • Location: Veracruz, Mexico
  • Minecraft: MinecraftWero
  • PSN:IsaacTobalina

Posted 25 August 2013 - 06:44 PM

could you please updte it to 1.6.2 i want to animate some mobs :P
Posted Image

#15

thehippomaster21

Posted 26 August 2013 - 06:35 AM

Updated! sorry for taking so long

#16

MincraftWero
    MincraftWero

    Lapis Lazuli Collector

  • Curse Premium
  • Curse Premium
  • 1066 posts
  • Location: Veracruz, Mexico
  • Minecraft: MinecraftWero
  • PSN:IsaacTobalina

Posted 26 August 2013 - 04:07 PM

View Postthehippomaster21, on 26 August 2013 - 06:35 AM, said:

Updated! sorry for taking so long

you are awesome man i love you (even though im going to use it for a sloth this will be useful)
Posted Image

#17

CREEPER14BOOM88
  • Location: The GlassBox
  • Minecraft: CREEPER14BOOM88
  • Xbox:CreeperHazard

Posted 26 August 2013 - 09:00 PM

It says the archive is corrupt
Posted Image
Click on me! If you don't,I will DIE!

#18

thehippomaster21

Posted 27 August 2013 - 05:50 AM

Any more info you can give me, CREEPER14BOOM88?

#19

SpyderClinoir
  • Location: In the HECKING world

Posted 28 August 2013 - 08:53 AM

never mind
i forgot to add what it requires

#20

Tocaraca2
    Tocaraca2

    Lapis Lazuli Collector

  • Members
  • 1021 posts

Posted 28 August 2013 - 09:29 AM

Thanks for making this for the mutant skeleton on mutant creatures, I could never live without playing with the skeleton!
Posted Image

GENERATION 9003: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment