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

Hello I am new to this forum and programming I am just starting. Would it be possible for my food to have the animation of an arc and not the conventional one of eating, for example?

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.comย  You should also read the support forum sticky post.

You know this question has been asked and answered "a million times" before in various forms in this forum?

Along with all the potential "gotchas" that people commonly get wrong.

ย 

Anyway:

For the vanilla animations there is Item.getUseAnimation().

For the bow you will also need to understand ItemProperties https://forge.gemwire.uk/wiki/Item_Properties and how they interact with model overrides.

This is the vanilla bow model: https://github.com/misode/mcmeta/blob/assets/assets/minecraft/models/item/bow.json

ย 

Or here's some mods on github that reference UseAnim.BOW and so might similar to whatever you are trying to do?

https://github.com/search?q=UseAnim.BOW&type=code

ย 

That should be enough hints on what to research?

Ultimately, you would be better off looking at ItemInHandRenderer and ItemRenderer (then following the rabbit hole) to see how all this fits together.

ย 

Finally, this is a support forum not a learn modding forum.

Questions like "can you tell me how to", "do you have an example", "insert question answered on wiki" will likely just get ignored.

I only answered this question because it is your first post, I very nearly didn't.

Come back when you have a problem with something you have actually tried to implement. That way you will also have a better chance at understanding any answers you do get.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.comย  You should also read the support forum sticky post.

  • Author

I understand and thank you for taking the time and trouble to respond.

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.