Posted March 22, 20205 yr Hey, so in the latest version, they removed the "setCustomModelResourceLocation" method in "ModelLoader". Can someone tell me how to register the models instead? I can't find it anywhere and forge documentation says that the method still exists but it doesn't
March 22, 20205 yr https://gist.github.com/williewillus/353c872bcf1a6ace9921189f6100d09a Quote ModelLoader.setCustomModelResourceLocation has been removed since it is no longer needed due to the flattening. Items are looked up using their own registry name, meaning foomod:fooitem will look in assets/foomod/models/item/fooitem.json by default If you need something else, look into using a custom baked model in ModelBakeEvent.
March 22, 20205 yr Author 23 minutes ago, Ugdhar said: https://gist.github.com/williewillus/353c872bcf1a6ace9921189f6100d09a Oh, thank you.
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.