Jump to content

Recommended Posts

Posted

Hello,

 

I want to try out the new Block Animation Framework for a mod of mine, but I have no idea how the Animation works..

I have a correct Blockstate, with static Propertie and so on, it is working fine, but my animation json are not working as expected.

One box of the animated model is deplaced and the rest isn't doing anything...

My idea here is that the shaftmodel should start spinning if the state changed to moving:

Armature -- https://pastebin.com/tvkWbZHf

Blockstate -- https://pastebin.com/5tgjM3zb

ASMS -- https://pastebin.com/W7czgwjq

BoxModel -- https://pastebin.com/bM6YXdup

ShaftModel -- https://pastebin.com/T9AG68RV (Should rotate)

 

In my tile I did this:

https://pastebin.com/nMY5LvUC

 

Please help me..

Explain the Animation System to me..

PLS

 

 

 

PS: I have read all the examples made by Forge and Others and also the grammar.js

Posted

I don't really understand if u wnat:

 

To put an animated texture on block/item

 

To make the dropped block/item rotate like in vannilla

 

To make a block which can move like minecart (for example)

 

Other

Posted
On 7/27/2017 at 6:21 AM, 28Smiles said:

Explain the Animation System

Just look at how the sea-lantern's texture works.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted
3 hours ago, jeffryfisher said:

Just look at how the sea-lantern's texture works.

 

The OP is asking about Forge's model animation system, not Vanilla's texture animation system.

 

Unfortunately there's not much documentation on it.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.