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 everyone,

I want to replace the model of the normal guardian mob. So in theory I want to override "ModelGuardian.java" with my own file. I already have a replacement model inside "ModelGuardianOverride.java". But now I just can't figure out how to initialize my replacement model within forge to be used instead of the default one. An alternative approach would probably be to override individual functions from "ModelGuardian.java", but honestly I have no clue at all how they'd be initialized either. Help would really be appreciated.

 

Btw, I'm not actually changing the entire model, I'm just disabling all animations. If there is a way to disable all animations in general or maybe a separat mod to disable them I'd prefer that solution. And please don't tell me I shouldn't alter anything about vanilla, this 'mod' is never meant to go public and only serves a very specific purpose. 

Edited by Fusseel
Minor

  • Author

Thank you! I was already working with RenderingRegistry.registerEntityRenderingHandler, turns out I just missed out on the @EventHandler annotation.

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.