MC Modding
Please register and join the community!

[Answered]How To Create a Block Animation

View previous topic View next topic Go down

[Answered]How To Create a Block Animation

Post by tanman80 on Fri Nov 18, 2011 6:53 am

I'm almost done with my first mod, but I want to add some animations to some blocks when their clicked. I don't want to know how to do texture animations (i already know how to do those Very Happy ), but animations like a chest would do when you open and close it.
I've looked everywhere for a tutorial on this, but no one seems to know how to do it so if you could help me you would be my newest friend.


Last edited by tanman80 on Sun Nov 20, 2011 5:15 am; edited 1 time in total

tanman80
Member

Posts : 3
Join date : 2011-11-18

View user profile

Back to top Go down

Re: [Answered]How To Create a Block Animation

Post by lcass on Fri Nov 18, 2011 5:47 pm

have a look in chest stuff maybe the chest has an entity?

lcass
Member

Posts : 145
Join date : 2011-10-24
Location : england

View user profile http://www.youtube.com/user/thealcasgroup

Back to top Go down

Re: [Answered]How To Create a Block Animation

Post by tanman80 on Sat Nov 19, 2011 12:43 am

I know that it uses a TileEnitity class, but I can't pick out what parts are for the special renderer, what parts are for the inventory slots, and what parts are for the animation, if I could find what parts are for the animation I don't know if I'd be able to find out how it works without a little help.

tanman80
Member

Posts : 3
Join date : 2011-11-18

View user profile

Back to top Go down

Re: [Answered]How To Create a Block Animation

Post by jesshankin22 on Sat Nov 19, 2011 8:06 pm

hmmm maybe if you looked in more moving animations like water, doors, and pistons it would help you.

jesshankin22
Member

Posts : 47
Join date : 2011-10-24

View user profile

Back to top Go down

Re: [Answered]How To Create a Block Animation

Post by tanman80 on Sun Nov 20, 2011 5:12 am

Ha!! I found it out, It works kind of like an entity, You have to use Techne to model the object and then use a tileEntity Class to animate it.

tanman80
Member

Posts : 3
Join date : 2011-11-18

View user profile

Back to top Go down

Re: [Answered]How To Create a Block Animation

Post by jesshankin22 on Sun Nov 20, 2011 8:50 am

haha.. I felt like i helped for a second... good job anyway!

jesshankin22
Member

Posts : 47
Join date : 2011-10-24

View user profile

Back to top Go down

Re: [Answered]How To Create a Block Animation

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum