Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

How would I go about animating a JSON block model, like a propeller spinning? I've found a few topics but none really specified how

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

How would I go about animating a JSON block model, like a propeller spinning? I've found a few topics but none really specified how

You need to use an IBakedModel.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Author

I don't think I follow. Do you mean to use an IBakedModel to combine each "frame" model into one model and return the next one of them each tick?

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

I don't think I follow. Do you mean to use an IBakedModel to combine each "frame" model into one model and return the next one of them each tick?

Inhave not used them, but tgat does sound about right.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Author

Okay, I'll try it. Although, I remember seeing somewhere you should NOT do that, but I'm not one for norms

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

Forge has an animation system for baked models in the

net.minecraftforge.client.model.animation

package, though there's not a lot of documentation on it.

 

Fry (a.k.a. RainWarrior) briefly described the purpose of each class in the commit that introduced the system. They've also documented the grammar of the Animation State Machine files here.

 

Forge has a test mod for the system here.

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.

There is actually a vanilla method of animating a json model..

Imagine you model 3 arms in the same model, next you got an texture for all the arms.. then,using vanilla animations to the texture you can make one arm show and others dont, then the other arm shows and the prev one disapears.. and then again the other shows and it looks as the arms is moving..

 

There is a whole map that uses that mechanic to make custom animals with walking animations....

 

I know its reeeeeaally complicated but its a diffrent way to do things...

Doing stuff n' things

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.