Jump to content

Recommended Posts

Posted

Propably the easiest way is to clone/fork the github repository, and save it localy on your computer. The next step is creating a new project in eclipse with the folder of the cloned repository as main directory. When you got that setup, you only need to refer it as a dependency in eclipse and in the gradle file!

 

Instead of saving a cloned repository, you can unpack the zipfile instead and do the same things as described above. Though updating the API is a bit less easier this way.

Projects:

Discontinued:

- N2ConfigAPI

- Meachanical Crafting Table

 

Latest:

- CollectionUtils

 

Coöperations:

- InGameConfigManager

Posted

If your mod requires another mod that embeds the RF API (e.g. CoFHCore, BuildCraft) or RF is an optional feature (i.e. you use

@Optional.Interface

to strip the interfaces when they're not present), you can put the API's source code in src/api/java (so you have src/api/java/cofh/api/CoFHAPIProps.java). This will compile your mod against these classes without including them in your mod's JAR.

 

If your mod is standalone, put the API in src/main/java instead. This will include the classes in your mod's JAR.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.