Advertisement
fuj1n

Setting up IC2 and GT API

Sep 1st, 2015
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. 1. Download these (don't extract)
  2. http://files.minecraftforge.net/maven/com/gregoriust/gregtech/gregtech_1.7.10/6.00.50/gregtech_1.7.10-6.00.50-dev.jar for GT API (version 6.00.50 for 1.7.10)
  3. http://files.minecraftforge.net/maven/com/gregoriust/gregtech/gregtech_1.7.10/6.00.50/gregtech_1.7.10-6.00.50-sources.jar for GT sources for same version
  4. http://ic2api.player.to:8080/job/IC2_experimental/lastSuccessfulBuild/artifact/build/libs/industrialcraft-2-2.2.767-experimental-dev.jar for IC2 API (version 2-2.2.767-experimental)
  5. 2. Put the APIs in your mods folder, but not the sources (minecraft/eclipse/mods), put the sources somewhere where you can find them.
  6. 3. In eclipse, right click the Minecraft project in the package explorer, click properties
  7. 4. Go to Java Build Path
  8. 5. Click on "Add External Jars"
  9. 6. Go to the mods folder and select both the IC2 and GT APIs then click open
  10. 7. Expand the GT API, double click on Source attachment
  11. 8. Select the External location radio button
  12. 9. Click external file
  13. 10. Select your GT source files
  14. 11. Click OK, and then click OK on the properties screen
  15. 12. After rebuild, you should be able to refer to GT and IC2 API methods.
  16.  
  17. If you need references to the APIs, here's the IC2 manual: http://ic2api.player.to/ic2api/html/index.html
  18. With GregTech, I am unsure if there's a manual, but because you linked the source file, you should be able to look at the source code for GT from within Eclipse.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement