Posted November 2, 201410 yr I want to try making a mod that uses the baubles API from Azanor (https://github.com/Azanor/Baubles) How can I install that API in my modding environment? What files do I need to copy to where?
November 2, 201410 yr Press that "Download ZIP" button on the right and copy everything from "src/main" from archive.
November 2, 201410 yr Author And do I have to setup any dependencies or so? And what do I do with all the errors is the files? Like missing values because of missing files? (the ones that aren't in the api files)
November 2, 201410 yr Well, then you have to make Baubles a dependency. This is how I do it. Delete the API folder from your mod, instead, add the built jar of the mod to your build.gradle dependencies block. This will add it to your classpath when building. If you run gradle --refresh-dependencies (I think that's the command.) it should add the jar as an external library in your dev environment (if not add it manually). Make sure your ide has the jar set to "do not compile" or "provided". Then link the library to the source or dev jar (so you can see the code inside your ide.), lastly, add the dev jar to your run/mods folder. If there is no dev jar, you can put the built jar and CCC in run/mods instead.
November 3, 201410 yr Author I'm sorry, but I'm really new to modding. I don't understand much of your previous explenation. Could you explait it with an examle? Let's say I want to install an Api with mod name example_123. I download the universal mod jar (example_123.jar) and the Api files (\api). What do I have to do next then?
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.