Hello.
My goal is to merge 2 models together using the ModelBakeEvent and ISmartItemModel. The first model is used by an item so it has been registered @ItemModelMesher. The second one however, is not being used by any item (and not registered ofc). I figured out that the code works if I use 2 models that have been registered and are used by an item. So I guess I have to load those unused models as well, however, after deep google'ing I still have no idea how to do it.
Yes, I checked if all strings and file names are correct.
Code (might be little bit dirty, since Im still trying to get used to this new system):
ModelGun (ISmartItemModel)
ModelBakeHandler (ModelBakeEvent)
Note: I know Im still using the deprecated IBakedModel. Will change that in future ofc. 2 pages that helped me a lot:
https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe15_item_smartitemmodel (amazing)
http://www.minecraftforge.net/forum/index.php/topic,32309.0/nowap.html (helped me understanding the basics)
thanks