GTNewHorizons / GT-New-Horizons-Modpack

New Modpack with Gregtech, Thaumcraft and Witchery
https://www.gtnewhorizons.com/
Other
980 stars 299 forks source link

Cannot build NewHorizonsCoreMod #4165

Closed richardhendricks closed 5 years ago

richardhendricks commented 5 years ago

@Dream-Master I cannot build the core mod, it is complaining about not finding lots of materials etc. Can you update the required lib packages? Thanks

C:\Users\hendric\Documents\repos\NewHorizonsCoreMod>gradlew build
****************************
 Powered By MCP:
 http://modcoderpack.com/
 Searge, ProfMobius, Fesh0r,
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : unknown
****************************
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:getForestryAPI SKIPPED
:getGalacticGreg SKIPPED
:getGregTech SKIPPED
:getHEE SKIPPED
:getRailCraft SKIPPED
:getBartworks SKIPPED
:getGtPlusPlus SKIPPED
:sourceMainJava UP-TO-DATE
:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
C:\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\command\ItemInHandInfoCommand.java:57: error: package MainRegistry does not exist
                MainRegistry.Logger.error("Command can only be executed ingame");
                            ^
C:\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\command\ItemInHandInfoCommand.java:118: error: package MainRegistry does not exist
            MainRegistry.Logger.error("Command can only be executed ingame");
                        ^
C:\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\gthandler\GT_CraftingRecipeLoader.java:118: error: cannot find symbol
        GT_ModHandler.addCraftingRecipe(ItemList.Quantum_Tank_IV.get(1L), bits,  new Object[]{"DGD", "PMP", "DUD", 'U', ItemList.Electric_Pump_UV, 'M', ItemList.Casing_Tank_10, 'G', ItemList.Field_Generator_UV, 'D',  OrePrefixes.circuit.get(Materials.Bio), '
                                                                                                                                                                                                                                                          ^
  symbol:   variable Bio
  location: class Materials
C:\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\gthandler\GT_CraftingRecipeLoader.java:130: error: cannot find symbol
        GT_ModHandler.addCraftingRecipe(ItemList.Quantum_Chest_IV.get(1L), bits, new Object[]{"DPD", "PMP", "DGD", 'M', CustomItemList.Automation_ChestBuffer_UEV, 'G', ItemList.Field_Generator_UV, 'D', OrePrefixes.circuit.get(Materials.Bio), 'P', OrePrefixes
                                                                                                                                                                                                                                           ^
  symbol:   variable Bio
  location: class Materials
draknyte1 commented 5 years ago

package MainRegistry does not exist

That's weird, cause that's part of DreamCore.. I just looked where else the Core mod had logging and replicated that. Probably just missing import declarations tbh.

bartimaeusnek commented 5 years ago

@richardhendricks try gradlew setupdevworkspace then gradlew build

Dream-Master commented 5 years ago

@richardhendricks did it work? can this be closed?

richardhendricks commented 5 years ago

It builds but I think it needs a new version of the GT5U dev jar.

arning: [options] bootstrap class path not set in conjunction with -source 1.7 :\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\gthandler\GT_CraftingRecipeLoader.java:118: error: cannot find symbol GT_ModHandler.addCraftingRecipe(ItemList.Quantum_Tank_IV.get(1L), bits, new Object[]{"DGD", "PMP", "DUD", 'U', ItemList.Electric_Pump_UV, 'M', ItemList.Casing_Tank_10, 'G', ItemList.Field_Generator_UV, 'D', OrePrefixes.circuit.get(Materials.Bio), 'P', OrePrefixes.plate.get(Materials.Americium)}); ^ symbol: variable Bio location: class Materials :\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\gthandler\GT_CraftingRecipeLoader.java:130: error: cannot find symbol GT_ModHandler.addCraftingRecipe(ItemList.Quantum_Chest_IV.get(1L), bits, new Object[]{"DPD", "PMP", "DGD", 'M', CustomItemList.Automation_ChestBuffer_UEV, 'G', ItemList.Field_Generator_UV, 'D', OrePrefixes.circuit.get(Materials.Bio), 'P', OrePrefixes.plate.get(Materials.Americium)}); ^ symbol: variable Bio location: class Materials :\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\gthandler\GT_CraftingRecipeLoader.java:154: error: cannot find symbol GT_ModHandler.addCraftingRecipe(GT_ModHandler.getModItem(aTextRailcraft, aTextMachineBeta, 1L, 3), bits, new Object[]{"PPP", "ShS", "PPP", 'P', OrePrefixes.itemCasing.get(Materials.Iron), 'S', OrePrefixes.screw.get(Materials.AnyIron)}); ^ symbol: variable itemCasing location: class OrePrefixes :\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\gthandler\GT_CraftingRecipeLoader.java:155: error: cannot find symbol GT_ModHandler.addCraftingRecipe(GT_ModHandler.getModItem(aTextRailcraft, aTextMachineBeta, 1L, 4), bits, new Object[]{"PPP", "ShS", "PPP", 'P', OrePrefixes.itemCasing.get(Materials.Steel), 'S', OrePrefixes.screw.get(Materials.Steel)}); ^ symbol: variable itemCasing location: class OrePrefixes :\Users\hendric\Documents\repos\NewHorizonsCoreMod\build\sources\java\com\dreammaster\gthandler\GT_CraftingRecipeLoader.java:273: error: cannot find symbol GT_ModHandler.addCraftingRecipe(GT_ModHandler.getModItem("IC2", "itemArmorBatpack", 1, GT_Values.W), bits, new Object[] {"RCR", "RAR", "RTR", 'R', GT_ModHandler.getModItem("IC2", "itemBatREDischarged", 1, 0), 'C', OrePrefixes.circuit.get(Materials.Basic), 'A', OrePrefixes.itemCasing.get(Materials.Aluminium), 'T', OrePrefixes.wireGt02.get( aterials.Tin)}); ^ symbol: variable itemCasing location: class OrePrefixes