Fusseel Posted July 19, 2017 Share Posted July 19, 2017 (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 July 19, 2017 by Fusseel Minor Quote Link to comment Share on other sites More sharing options...
Fusseel Posted July 20, 2017 Author Share Posted July 20, 2017 Thank you! I was already working with RenderingRegistry.registerEntityRenderingHandler, turns out I just missed out on the @EventHandler annotation. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.