Posted January 30, 20187 yr 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.
January 30, 20187 yr Don't. Always register your items. If they depend on other mods, just make the recipes conditional. 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.
January 30, 20187 yr Author Okay. But if there is in fact a way to do this, then I would still like to know.
January 30, 20187 yr 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, 20187 yr by Draco18s 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.
January 30, 20187 yr Author I'm sorry for being such a noob, but how do I do those things? Sorry again for being computer illiterate.
January 30, 20187 yr Author Disable crafting recipes unless another mod is installed, and disable creative menu display.
January 30, 20187 yr Author 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, 20187 yr by thatguyherobrine
January 30, 20187 yr What you're probably looking for is Loader.isModLoaded("[modid]") 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.
January 30, 20187 yr Author You know what? Sorry for wasting your time. I'll just look it up from here. Thanks for your help.
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.