tomdodd4598 / NuclearCraft

NuclearCraft is a Forge mod for Minecraft 1.12.2.
https://www.curseforge.com/minecraft/mc-mods/nuclearcraft-overhauled
MIT License
196 stars 128 forks source link

Missing GregTech build dependency/API #367

Closed josephcsible closed 6 years ago

josephcsible commented 6 years ago

When trying to compile a fresh git clone of this mod, running bash ./gradlew build gives the following errors:

:compileJava
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/tile/energy/TileEnergy.java:3: error: package gregtech.api.capability does not exist
import gregtech.api.capability.GregtechCapabilities;
                              ^
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/tile/energy/TileEnergy.java:4: error: package gregtech.api.capability does not exist
import gregtech.api.capability.IEnergyContainer;
                              ^
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/tile/internal/energy/EnergyTileWrapperGT.java:3: error: package gregtech.api.capability does not exist
import gregtech.api.capability.IEnergyContainer;
                              ^
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/tile/internal/energy/EnergyTileWrapperGT.java:12: error: cannot find symbol
public class EnergyTileWrapperGT implements IEnergyContainer {
                                            ^
  symbol: class IEnergyContainer
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/item/energy/ItemEnergyCapabilityProvider.java:3: error: package gregtech.api.capability does not exist
import gregtech.api.capability.GregtechCapabilities;
                              ^
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/item/energy/ItemEnergyWrapperGT.java:7: error: package gregtech.api.capability does not exist
import gregtech.api.capability.IElectricItem;
                              ^
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/item/energy/ItemEnergyWrapperGT.java:15: error: cannot find symbol
public class ItemEnergyWrapperGT implements IElectricItem {
                                            ^
  symbol: class IElectricItem
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/tile/dummy/TileFissionPort.java:3: error: package gregtech.api.capability does not exist
import gregtech.api.capability.GregtechCapabilities;
                              ^
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/tile/dummy/TileFissionPort.java:4: error: package gregtech.api.capability does not exist
import gregtech.api.capability.IEnergyContainer;
                              ^
/home/joe/MinecraftMods/NuclearCraft/build/sources/main/java/nc/tile/passive/TilePassiveAbstract.java:9: error: package gregtech.api.capability does not exist
import gregtech.api.capability.GregtechCapabilities;
                              ^
10 errors
:compileJava FAILED

The problem is that this mod needs GregTech's API to be built, but it isn't present in src/api and isn't imported in Maven.

tomdodd4598 commented 6 years ago

Hey there! This is because I am using the API from a local jar, as it is a mod still very much in development. You can find the download here :)