EmperorZelos Posted October 6, 2014 Posted October 6, 2014 I try to compile the mod for some to test but some of the art does not appear. when I play it in my modding it all appears perfectly fine but when I compile it and run it in normal minecraft it does not, what could cause this? I have it all in \forge\src\main\resources\assets\modID when i do compile it and I can see that the stuff is in there. Quote
sequituri Posted October 7, 2014 Posted October 7, 2014 Also, make sure you do not "Export jar file" in the IDE. You did remember to run: gradlew build (right?) then get your jar from the build/libs folder... Quote -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
EmperorZelos Posted October 7, 2014 Author Posted October 7, 2014 I did, it seems to be correlated to what DB07 said which I find odd that Eclipse can run it but the builder fails then, peculiar Quote
TheGreyGhost Posted October 7, 2014 Posted October 7, 2014 Hi Try looking in the console output for "using missing texture unable to load" and post it here, along with your ResourceLocation statements? -TGG Quote
jeffryfisher Posted October 7, 2014 Posted October 7, 2014 I try to compile the mod for some to test but some of the art does not appear. when I play it in my modding it all appears perfectly fine but when I compile it and run it in normal minecraft it does not, what could cause this? I have it all in \forge\src\main\resources\assets\modID when i do compile it and I can see that the stuff is in there. That's not enough information. What is your mod trying to do, and what does happen when your "art" fails to appear? What "normal" Minecraft are you testing in (SP or MP-client/server)? For all I can tell, you have a client/server issue with server errors in the server console that you aren't telling us (and may not even have noticed). One common error mode (for me) is that some bit of client-only code runs OK in Eclipse only to fail in MP. Since texture handling and rendering are client side-only, this could be the nature of your problem (although most such problems crash completely, which is a symptom you should have mentioned if the case). Quote The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.
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.