Jump to content

Recommended Posts

Posted (edited)

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
Posted

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

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