creation of addons

  • Hi, is there anybody who can explain to me how to import the IndustrialCraft api into my development environment?


    Sorry for my bad English

    • Official Post

    The easiest method will be do add the IC2 maven within your build.gradle and declare the API as a dependency:

    Code: build.gradle
    repositories {
        maven {
            name "IC2"
            url "http://maven.ic2.player.to/"
        }
    }
    
    dependencies {
        compile 'net.industrial-craft:industrialcraft-2:2.8.101-ex112:api'
    }

    Refreshing your project if you've imported the gradle file or running gradlew eclipse/idea if you're using the command line will then compile with the IC2 API too.

    145 Mods isn't too many. 9 types of copper and 8 types of tin aren't too many. 3 types of coffee though?

    I know that you believe that you understood what you think I said, but I am not sure you realise that what you read was not what I meant.


    ---- Minecraft Crash Report ----
    // I just don't know what went wrong :(


    I see this too much.

  • oh tanks but I've solved, now I have another problem: I'm trying to create a generator block but if I use the .setUnlocalizedName() it give errors and crashes