View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002751 | Industrial-Craft² | crossmod-compatibility / submodules / API | public | 2021-01-10 17:10 | 2021-01-27 04:34 |
Reporter | itchy | Assigned To | |||
Priority | urgent | Severity | crash | Reproducibility | sometimes |
Status | new | Resolution | open | ||
Summary | 0002751: having consistent error with IC2 | ||||
Description | Skipping event FMLServerStoppedEvent and marking errored mod advanced_machines since required dependency ic2 has errored Skipping event FMLServerStoppedEvent and marking errored mod advanced_solar_panels since required dependency ic2 has errored Server thread/WARN | ||||
Steps To Reproduce | used patch reverted to older release and still no api connection to debug | ||||
Additional Information | this is for my own modpack i have been creating for a year this didn't happen in the release of 1.2.5 but only now in 1.2.9 Modpack Name ZeroG Limitless | ||||
Tags | No tags attached. | ||||
Minecraft Version | 1.12.2 | ||||
|
|
|
**************************************** * A broken ore dictionary registration with name ingotAdvancedAlloy has occurred. It adds an item (type: class com.gato.ingotadvancedalloy.items.ItemBase) which is currently unknown to the game registry. This dictionary item can only support a single value when registered with ores like this, and NO I am not going to turn this spam off. Just register your ore dictionary entries after the GameRegistry. Console 17:12:55 TO USERS: YES this is a BUG in the mod Advanced Alloy Ingot report it to them! |
|
Potentially Dangerous alternative prefix `advanced_machines` for name `rotary_macerator`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_machines` for name `singularity_compressor`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_machines` for name `centrifuge_extractor`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_machines` for name `compacting_recycler`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_machines` for name `liquescent_extruder`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_machines` for name `impellerized_roller`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_machines` for name `water_jet_cutter`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_machines` for name `thermal_washer`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_solar_panels` for name `molecular_transformer`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_solar_panels` for name `quantum_generator`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_solar_panels` for name `advanced_solar_panel`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_solar_panels` for name `hybrid_solar_panel`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_solar_panels` for name `ultimate_solar_panel`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Potentially Dangerous alternative prefix `advanced_solar_panels` for name `quantum_solar_panel`, expected `ic2`. This could be a intended override, but in most cases indicates a broken mod. Server thread/ERROR 17:18:50 Skipping event FMLServerStoppedEvent and marking errored mod advanced_machines since required dependency ic2 has errored Skipping event FMLServerStoppedEvent and marking errored mod advanced_solar_panels since required dependency ic2 has er |
|
This isn't a bug with Industrial-Craft 2, it's a bug with the mod named "Advanced Alloy Ingot". That's "Advanced Alloy Ingot 1.1-1.12.2.jar" in your mods folder. I looked the mod up and the problem is right here: https://github.com/gatoborrachon/AdvancedAlloyIngot/blob/master/src/main/java/com/gato/ingotadvancedalloy/Main.java https://github.com/gatoborrachon/AdvancedAlloyIngot/blob/master/src/main/java/com/gato/ingotadvancedalloy/util/handler/RegistryHandler.java They are registering items in the ore dictionary during the PreInit event (Main.java:5), but the items aren't added to the item registry until the onItemRegister event (RegistryHandler.java:21). The item has to be registered in the item registry before it can be registered in the ore dictionary. Per the Forge documentation: "Add entries to the OreDictionary during registry events, after registering your items." https://mcforge.readthedocs.io/en/1.12.x/utilities/oredictionary/ So lines five and twenty-seven from Main.java need to be cut and pasted after lines twelve and twenty-one of RegistryHandler.java, respectively. |
|
(The note about Advanced Alloy Ingot was only in response to the broken ore dictionary registration warning.) Regarding the potentially dangerous alternative prefix messages, you can probably ignore those. Regarding the actual crash, take a look at these lines from your log file: [17:05:07] [Server thread/WARN] []: Potential problem: Galacticraft did not complete injection of bytecode into: net/minecraftforge/common/ISpecialArmor$ArmorProperties (0 / 2) [17:05:07] [Server thread/INFO] [GTCETransformer]: Patched method applyArmor(Lnet/minecraft/entity/EntityLivingBase;Lnet/minecraft/util/NonNullList;Lnet/minecraft/util/DamageSource;D)F in net/minecraftforge/common/ISpecialArmor$ArmorProperties successfully [17:05:07] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from IndustrialCraft 2 (ic2) Caused by: java.lang.NoClassDefFoundError: net/minecraftforge/common/ISpecialArmor$ArmorProperties ... Caused by: java.lang.ClassNotFoundException: net.minecraftforge.common.ISpecialArmor$ArmorProperties ... Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer gregtech.common.asm.GTCETransformer@1365fecf from coremod GTCELoadingPlugin ... Caused by: java.lang.RuntimeException: Patching failed, patch code wasn't injected Patch target: [net/minecraftforge/common/ISpecialArmor$ArmorProperties.applyArmor(Lnet/minecraft/entity/EntityLivingBase;Lnet/minecraft/util/NonNullList;Lnet/minecraft/util/DamageSource;D)F]; injection point: [net/minecraft/util/CombatRules.func_189427_a(FFF)F]; (point not found) It's hard to say what is causing the incompatibility, ASM is a little over my head. But at some point somehow a bytecode edit failed, thus removing part of the Forge API that IC2 relies upon. When IC2 tried to access that API, the game crashed. I can't tell whether it's GregTech or Galacticraft or maybe an addon for one of the two. |