Ok two things, I'm grouping them together for ease.
First the download link to the API for the latest version is broken or I'm missing something.
Second how do I use the API (Do I just place it in the MCP then decompile with the Forge decompiler?)
Thanks for any help, sorry if this is the wrong place it was the only place that seamed logical for this.
[Solved] API Questions.
-
-
API download link, latest version [MC 1.4.7] Open Beta v1.115
1. Place contents of .zip into folder on desktop
2. (I'm assuming you're using Eclipse) Navigate to where you would make a new class, but click new folder
3. Click advanced
4. Click bottom option, "Link to alternate location"
5. Browse to, and select your IC2 API folder on desktop
6. Click finish
7. Locate your new folder on the left side in the package explorer
8. Right click the folder
9. Select Build Path, and Use as Source Folder.
10. Eclipse might give some errors with like all the files, but it should work, and if not, create an ic2.api package and move the files there. -
Thanks a lot
-
Sorry but what is a .api package? And how do I movie the files there?
-
what your reason to use api, your skills looks like not sufficient for this.
-
I'm new to Java, but know several other languages. Be for you say I should try something else, I learn quick.
-
I've only done this once or twice, but hover over the source of the error at the top of the files where it should say package ic2.api and click move to package "ic2.api". That should solve the problem with the packages.
-
Just decompile ic2
-
Just decompile ic2
I don't see what that gains you when you can just download the API... -
The API and IC2 are completely different. The API is only 5 to 10% of IC2. I only need the information from the API.
-
API does not contain information about how exactly mod is implemented, if you want to learn something you shoud not ever look at API.
but i strongly advice to check something easy to for begining, like buildcraft (it open source)
-
TTo install the api just drag/drop The files in The SRC package
-
[...]i strongly advice to check something easy to for begining, like buildcraft (it open source)
IronChests is also an excellent choice for a fairly small mod that does things right.
-
iron chests is perfect exsample, second this.
basically you shoud check opensourced mods first (ANY), then switch to obfuscated code.