thatguyherobrine Posted January 30, 2018 Share Posted January 30, 2018 I would like to know, to add custom compatibility for mods like TCon, GCraft, etc. I don't want these items OR their recipes to even be initialized without those mods installed, but I want the other items to be craftable and exist. Quote Link to comment Share on other sites More sharing options...
Draco18s Posted January 30, 2018 Share Posted January 30, 2018 Don't. Always register your items. If they depend on other mods, just make the recipes conditional. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given. Link to comment Share on other sites More sharing options...
thatguyherobrine Posted January 30, 2018 Author Share Posted January 30, 2018 Okay. But if there is in fact a way to do this, then I would still like to know. Quote Link to comment Share on other sites More sharing options...
Draco18s Posted January 30, 2018 Share Posted January 30, 2018 (edited) I won't tell you how because you should always register your items. On 5/9/2017 at 2:10 PM, diesieben07 said: Don't let the config decide whether or not to register things. Always register everything and then disable crafting recipes and creative-menu display when the server-side configuration arrives. This works even in SinglePlayer, no special-casing required. Edited January 30, 2018 by Draco18s Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given. Link to comment Share on other sites More sharing options...
thatguyherobrine Posted January 30, 2018 Author Share Posted January 30, 2018 I'm sorry for being such a noob, but how do I do those things? Sorry again for being computer illiterate. Quote Link to comment Share on other sites More sharing options...
thatguyherobrine Posted January 30, 2018 Author Share Posted January 30, 2018 Disable crafting recipes unless another mod is installed, and disable creative menu display. Quote Link to comment Share on other sites More sharing options...
thatguyherobrine Posted January 30, 2018 Author Share Posted January 30, 2018 Hello? Quote Link to comment Share on other sites More sharing options...
thatguyherobrine Posted January 30, 2018 Author Share Posted January 30, 2018 (edited) Can you give me an example of how to use these? Just like, a tiny bit of junk code to see how i'm supposed to insert it? Edit: Also, I want the items to not be in the menu unless a mod is installed. Edited January 30, 2018 by thatguyherobrine Quote Link to comment Share on other sites More sharing options...
Draco18s Posted January 30, 2018 Share Posted January 30, 2018 What you're probably looking for is Loader.isModLoaded("[modid]") Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given. Link to comment Share on other sites More sharing options...
thatguyherobrine Posted January 30, 2018 Author Share Posted January 30, 2018 sorry but where would I put those (Ahh i'm so bad at programming) Quote Link to comment Share on other sites More sharing options...
thatguyherobrine Posted January 30, 2018 Author Share Posted January 30, 2018 You know what? Sorry for wasting your time. I'll just look it up from here. Thanks for your help. 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.