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

All right, I will just ask this straight ahead, are there common ways of creating different Modes for players which also can change the Model animation? I could use capabilities to add this, but how can I directly influence Minecrafts usual player animations? Also, I need certain abilities that the player has in this modes (e.g pulling an entity), but that will be rather easy.

  • Author
8 hours ago, jabelar said:

Animations are usually controlled with combination of the model class and renderer class. 

Yeah, I know that but can I just modify them? If so, how do I prevent Minecraft from controlling the player model?

Edited by ArmamentHaki

When trying to modify something vanilla, you have a few options. In this case using events is probably best bet. Just handle the RenderPlayerEvent.Pre event, do the rendering you want, and make sure you cancel the event to prevent the vanilla player renderer from rendering.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author

I looked at how Minecraft renders the player and realized that cancelling the event would cancel way more that shouldn't be cancelled. I can modify rotation angles of the models, but they are resetted in the render method itself, so that won't work for me. The only option would be to render everything that Minecraft does by my Mod and set them manually there. But that would be a ton of stuff that I actually want to keep my hands off

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.