izako
-
Posts
35 -
Joined
-
Last visited
Posts posted by izako
-
-
26 minutes ago, Toma™ said:
Use the ModelRegistryEvent to register all your item models
how do i do that?
honestly wish there were youtube tutorials for this smh -
okay so lots of people here have told me to replace IHasModel and i was just wondering as how to replace it the best way, here's the repository for my code https://github.com/izako666/Practice-Mod/tree/master/src/main
-
18 hours ago, unassigned said:
Make your modid more unique, 'bo' is not a good modid!
I believe when you are setting RegistryNames like that; you need to include your modid. There is a function for this.
this.setRegistryName(yourmodid, name);
Make sure your modid is accessed from a global field - to make changing your modid less of a pain.
IHasModel is bad! Never use this. Every item/block needs a model and by implementing this useless interface you are basically saying there is a case where I don't want it to have a model. Which there isn't. Many new modders make this mistake as trying to follow someone else's bad coding practices. Remove the interface and use the ModelRegistryEvent which will access your items and register them to the ModelLoader.
Also, the console should be throwing an error if you are registering things correctly. Post this error if you'd like more help. If there is no error, post back with your registration code.
I think people do this and I do it too because it's done by literally the first modding tutorial on youtube if you make a youtube search by the youtuber loremaster. *referring to IHasModel*
-
Okay I grew tired of thinking about this I didn't want to appear as some sort of idiot as it felt to be something obvious I googled it but still don't understand what you guys mean how do I call it in "ModelRegistryEvent"?
-
okay thanks I'll try that.
-
I don't know most of what you guys said felt like suggestions rather than the answer for the actual problem can you address the cause of the problem and how to fix it specifically? ofcourse I take suggestions too but I wan't to know the cause and answer of the problem itself.
-
-
thanks it worked.
-
Hello. I am new to the forge forums and modding in general usually I've been fine off of youtube tutorials and just google in general. but I just can't seem to wrap my head around this error
the texture won't render It just appears as this (images below). and also since I'm really new to modding I'm not really all that sure of what to add other than these pictures so please if there's anything else you wan't to know do let me know.
How to replace IHasModel
in Modder Support
Posted
I'm not sure what i did wrong but I'm getting multiple syntax errors