HbmMods / Hbm-s-Nuclear-Tech-GIT

A flaming wreck of a minecraft mod about nuclear technology that is somehow still in development.
GNU General Public License v3.0
349 stars 242 forks source link

Potions conflict #1273

Closed 16bitBunny closed 7 months ago

16bitBunny commented 7 months ago

Hello devs, I'm having a pesky error with Potions IDs and I can't see a way to fix unless deleting the potions' ID in the hbm.cfg config file; weirdly enough it didn't happen when I updated the mod but after two days it started, I'll drop a log there:

---- Minecraft Crash Report ---- // Oh - I know what I did wrong!

Time: 10/12/23 22:54 Description: Initializing game

java.lang.ArrayIndexOutOfBoundsException: 362 at net.minecraft.potion.Potion.(Potion.java:68) at com.hbm.potion.HbmPotion.(HbmPotion.java:46) at com.hbm.potion.HbmPotion.registerPotion(HbmPotion.java:86) at com.hbm.potion.HbmPotion.init(HbmPotion.java:50) at com.hbm.main.MainRegistry.PreLoad(MainRegistry.java:270) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Stacktrace: at net.minecraft.potion.Potion.(Potion.java:68) at com.hbm.potion.HbmPotion.(HbmPotion.java:46) at com.hbm.potion.HbmPotion.registerPotion(HbmPotion.java:86) at com.hbm.potion.HbmPotion.init(HbmPotion.java:50) at com.hbm.main.MainRegistry.PreLoad(MainRegistry.java:270) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)

-- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_371, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 324862248 bytes (309 MB) / 832098304 bytes (793 MB) up to 3207856128 bytes (3059 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 Optifine OptiFine_1.7.10_HD_U_E7 111 mods loaded, 111 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCH FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar) UCH Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar) UCH CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar) UCH ivtoolkit{1.2.1} [IvToolkit] (minecraft.jar) UCH LanteaCraft-Core{1.0} [LanteaCraft Core] (minecraft.jar) UCH NotEnoughItems{1.0.5.120} [Not Enough Items] (Not-Enough-Items-1.7.10-Latest.jar) UCH RenderPlayerAPI{1.4} [Render Player API] (minecraft.jar) UCH {000} [CoFH ASM] (minecraft.jar) UCH Pistronics2{0.6.3} [Pistronics 2] (1.7.10-Pistronics2-v0.6.4.jar) UCH ArchitectureCraft{1.7.1} [ArchitectureCraft] (ArchitectureCraft_1.7.1_mc1.7.10.jar) UCH bdlib{1.9.4.109} [BD Lib] (BdLib-1.7.10.jar) UCH BiblioCraft{1.11.6} [BiblioCraft] (BiblioCraft-Mod-1.7.10.jar) UCH CoFHCore{1.7.10R3.1.4} [CoFH Core] (CoFHCore-[1.7.10]3.1.4-329.jar) UCH Baubles{1.0.1.10} [Baubles] (Baubles-Mod-1.7.10.jar) UCH ThermalFoundation{1.7.10R1.2.6} [Thermal Foundation] (Thermal-Foundation-Mod-1.7.10.jar) UCH ThermalExpansion{1.7.10R4.1.5} [Thermal Expansion] (ThermalExpansion-[1.7.10]4.1.5-248.jar) UCH BigReactors{0.4.3A} [Big Reactors] (Big-Reactors-Mod-1.7.10.jar) UCH BiomesOPlenty{2.1.0} [Biomes O' Plenty] (Biomes-O-Plenty-Mod-1.7.10.jar) UCH Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-1.7.10-4.2.3.5.jar) UCH Botania{r1.8-249} [Botania] (Botania-Mod-1.7.10.jar) UCH BrandonsCore{1.0.0.12} [Brandon's Core] (BrandonsCore-1.0.0.12.jar) UCH BuildCraft|Core{7.1.23} [BuildCraft] (buildcraft-7.1.23.jar) UCH BuildCraft|Transport{7.1.23} [BC Transport] (buildcraft-7.1.23.jar) UCH BuildCraft|Factory{7.1.23} [BC Factory] (buildcraft-7.1.23.jar) UCH BuildCraft|Silicon{7.1.23} [BC Silicon] (buildcraft-7.1.23.jar) UCH BuildCraft|Robotics{7.1.23} [BC Robotics] (buildcraft-7.1.23.jar) UCH BuildCraft|Energy{7.1.23} [BC Energy] (buildcraft-7.1.23.jar) UCH BuildCraft|Builders{7.1.23} [BC Builders] (buildcraft-7.1.23.jar) UCH Railcraft{9.12.2.1} [Railcraft] (Railcraft_1.7.10-9.12.2.1.jar) UCH TwilightForest{2.3.7} [The Twilight Forest] (Twilight-Forest-Mod-1.7.10.jar) UCH ForgeMultipart{1.2.0.345} [Forge Multipart] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) UCH chisel{2.5.1.44} [Chisel 2] (Chisel-2-Mod-1.7.10.jar) UCH CarpentersBlocks{3.3.8.1} [Carpenter's Blocks] (Carpenters-Blocks-Mod-1.7.10.jar) UCH catwalks{2.0.1} [Catwalks Mod] (Catwalks-2-Mod-1.7.10.jar) UCH catwalkmod{x.x.x} [Legacy Catwalk Compat] (Catwalks-2-Mod-1.7.10.jar) UCH ChickenChunks{1.3.4.19} [ChickenChunks] (ChickenChunks-1.7.10-1.3.4.19-universal.jar) UCH chocolateQuest{1.0} [Chocolate Quest] (chocolateQuest-1.7.10-1.0.jar) UCH CoroAI{v1.0} [CoroAI] (CoroUtil-1.7.10.jar) UCH BuildMod{v1.0} [Build Mod] (CoroUtil-1.7.10.jar) UCH CoroPets{v1.0} [CoroPets] (CoroUtil-1.7.10.jar) UCH ExtendedRenderer{v1.0} [Extended Renderer] (CoroUtil-1.7.10.jar) UCH ConfigMod{v1.0} [Extended Mod Config] (CoroUtil-1.7.10.jar) UCH customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs_1.7.10d(29oct17).jar) UCH DraconicEvolution{1.0.2h} [Draconic Evolution] (Draconic-Evolution-1.7.10-1.0.2h.jar) UCH dsurround{1.0.6.4} [Dynamic Surroundings] (DynamicSurroundings-1.7.10-1.0.6.4.jar) UCH ElecCore{1.4.294} [ElecCore] (ElecCore-1.7.10-1.4.294.jar) UCH Eln{@VERSION@} [Electrical Age] (ElectricalAge-jrddunbr-1.18.3.jar) UCH etfuturum{2.4.0} [§5§oEt Futurum Requiem] (Et_Futurum_Requiem-2.4.0.jar) UCH evilcraft{0.9.13} [EvilCraft] (EvilCraft-1.7.10-0.9.13.jar) UCH ExtraUtilities{1.2.12} [Extra Utilities] (Extra-Utilities-Mod-1.7.10.jar) UCH FissionWarfare{1.1.0} [Fission Warfare] (FissionWarfare-1.1.0.jar) UCH darkglass{1.0.0} [Dark Glass] (glassplus-1.7.10-(1.0.0).jar) UCH GollumCoreLib{2.0.0} [Gollum Core Lib] (Gollum-Core-Lib-1.7.10.jar) UCH grim3212core{V0.2 - 1.7.10} [Grim3212 Core] (Grim3212-Core-1.7.10.jar) UCH GrimoireOfGaia{1.0.0} [Grimoire of Gaia 3] (Grimoire-of-Gaia-3-Mod-1.7.10.jar) UCH guideapi{1.7.10-1.0.1-29} [Guide-API] (Guide-API-1.7.10-1.0.1-29.jar) UCH HardcoreDarkness{1.7} [Hardcore Darkness] (HardcoreDarkness-MC1.7.10-1.7.jar) UCH harvestcraft{1.7.10j} [Pam's HarvestCraft] (HarvestCraft-Mod-1.7.10.jar) UCE hbm{1.0.27 BETA (4795)} [Hbm's Nuclear Tech] (HBM-NTM-.1.0.27_X4795.jar) UCH iChunUtil{4.2.3} [iChunUtil] (iChunUtil-4.2.3.jar) UCH ImmersiveEngineering{0.7.7} [Immersive Engineering] (Immersive-Engineering-Mod-1.7.10.jar) UCH immersivecavegen{1.2g-hotfix5} [Immersive Cavegen] (immersivecavegen-1.2g-hotfix5.jar) UCH InfernalMobs{1.6.6} [Infernal Mobs] (Infernal-Mobs-Mod-1.7.10.jar) UCH JammyFurniture{5.0.0 [Build Smeagol]} [Jammy Furniture Mod] (Jammy-Furniture-Reborn-Mod-1.7.10.jar) UCH LanteaCraft{1.0.0-23} [LanteaCraft] (LanteaCraft-1.7.10-23.jar) UCH SlimevoidLib{2.0.4.7} [Slimevoid Library] (SlimevoidLibrary-2.0.4.7.jar) UCH LittleBlocks{2.2.4.4} [Little Blocks] (Little-Blocks-Mod-1.7.10.jar) UCH llibrary{1.5.1} [LLibrary] (LLibrary-1.7.10.jar) UCH lom{1.7.10-3.2.2} [LotsOMobs] (LotsOMobs-Mod-1.7.10.jar) UCH LovelyRobot{1.1.1} [LovelyRobot] (LovelyRobot_Mod_1.7.10.jar) UCH malisiscore{1.7.10-0.14.3} [MalisisCore] (MalisisCore-1.7.10.jar) UCH malisisdoors{1.7.10-1.13.2} [Malisis' Doors] (malisisdoors-1.7.10-1.13.2.jar) UCH Mantle{1.7.10-0.3.2.jenkins184} [Mantle] (Mantle-1.7.10-0.3.2.jar) UCH RadixCore{2.1.3} [RadixCore] (RadixCore-1.7.10-2.1.3-universal.jar) UCH MCA{1.7.10-5.2.2} [Minecraft Comes Alive] (MCA-1.7.10-5.2.2-universal.jar) UCH Mekanism{9.1.1} [Mekanism] (Mekanism-Mod-Core-1.7.10.jar) UCH MekanismGenerators{9.1.1} [MekanismGenerators] (Mekanism-Mod-Generators-1.7.10.jar) UCH MekanismTools{9.1.1} [MekanismTools] (Mekanism-Mod-Tools-1.7.10.jar) UCH movillages{1.4.2} [Mo' Villages] (Mo-Villages-Mod-1.7.10.jar) UCH mobbattle{2.0.0[1.7.10]-final} [Mob Battle Mod] (Mob+Battle+Mod-2.0.0[1.7.10]final.jar) UCH moreplayermodels{1.7.10b} [MorePlayerModels] (MorePlayerModels_1.7.10b.jar) UCH cfm{3.4.7} [§9MrCrayfish's Furniture Mod] (MrCrayfishs-Furniture-Mod-1.7.10.jar) UCH notenoughIDs{1.4.3.4} [NotEnoughIDs] (NotEnoughIDs-1.4.3.4.jar) UCH Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10.jar) UCH SonarCore{1.1.3} [SonarCore] (Sonar-Core-1.7.10.jar) UCH PracticalLogistics{0.2.4} [Practical Logistics] (Practical-Logistics-1.7.10-0.2.4.jar) UCH MrTJPCoreMod{1.1.0.33} [MrTJPCore] (MrTJPCore-1.7.10-1.1.0.33-universal.jar) UCH ProjRed|Core{4.7.0pre12.95} [ProjectRed Core] (ProjectRed-1.7.10-4.7.0pre12.95-Base.jar) UCH ProjRed|Integration{4.7.0pre12.95} [ProjectRed Integration] (ProjectRed-1.7.10-4.7.0pre12.95-Integration.jar) UCH ProjRed|Transmission{4.7.0pre12.95} [ProjectRed Transmission] (ProjectRed-1.7.10-4.7.0pre12.95-Integration.jar) UCH ProjRed|Fabrication{4.7.0pre12.95} [ProjectRed Fabrication] (ProjectRed-1.7.10-4.7.0pre12.95-Fabrication.jar) UCH ProjRed|Illumination{4.7.0pre12.95} [ProjectRed Illumination] (ProjectRed-1.7.10-4.7.0pre12.95-Lighting.jar) UCH ProjRed|Expansion{4.7.0pre12.95} [ProjectRed Expansion] (ProjectRed-1.7.10-4.7.0pre12.95-Mechanical.jar) UCH ProjRed|Transportation{4.7.0pre12.95} [ProjectRed Transportation] (ProjectRed-1.7.10-4.7.0pre12.95-Mechanical.jar) UCH ProjRed|Exploration{4.7.0pre12.95} [ProjectRed Exploration] (ProjectRed-1.7.10-4.7.0pre12.95-World.jar) UCH qmunitylib{1.0} [QmunityLib] (QmunityLib-1.7.10-0.1.114-universal.jar) UCH row{1.7.10-5.8-RC7} [Rails of War] (RailsOfWar-1.7.10-5.8-RC7.jar) UCH secretroomsmod{4.7.1} [The SecretRoomsMod] (secretroomsmod_1.7.10_4.7.1.413.jar) UCH securitycraft{v1.8.2.1} [SecurityCraft] (SecurityCraft-Mod-1.7.10.jar) UCH shincolle{1.7.10.rv26.2} [Shinkeiseikan Collection] (ShinColle-1.7.10.rv26.2.jar) UCH soundfilters{0.8_for_1.7.X} [Sound Filters] (SoundFilters-0.8_for_1.7.X.jar) UCH TConstruct{1.7.10-1.8.8.build988} [Tinkers' Construct] (TConstruct-1.7.10-1.8.8.jar) UCH ThermalDynamics{1.7.10R1.2.1} [Thermal Dynamics] (Thermal-Dynamics-Mod-1.7.10.jar) UCH worldedit{6.1.1} [WorldEdit] (WorldEdit-1.7.10.jar) UCH XaeroMinimap{1.13.7} [Xaero's Minimap] (Xaeros_Minimap_1.13.7_Forge_1.7.10.jar) UCH McMultipart{1.2.0.345} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) UCH ForgeRelocation{0.0.1.4} [ForgeRelocation] (ForgeRelocation-1.7.10-0.0.1.4-universal.jar) UCH MCFrames{1.0} [MCFrames] (ForgeRelocation-1.7.10-0.0.1.4-universal.jar) UCH RelocationFMP{0.0.1.2} [RelocationFMP] (ForgeRelocationFMP-1.7.10-0.0.1.2-universal.jar) UCH ForgeMicroblock{1.2.0.345} [Forge Microblocks] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) CoFHCore: -[1.7.10]3.1.4-329 ThermalFoundation: -[1.7.10]1.2.6-118 ThermalExpansion: -[1.7.10]4.1.5-248 Mantle Environment: DO NOT REPORT THIS CRASH! Unsupported mods in environment: optifine TConstruct Environment: Environment healthy. ThermalDynamics: -[1.7.10]1.2.1-172 List of loaded APIs:

Before anything else, I know my PC is potato af but it can handle MC no problem; I searched everywhere and people say it's an Immersive Engineering potions conflict, yet I'm running those like always. I hope I'm doing this right as its the first time I'm having a bug and opening an issue lol

gmhs022 commented 7 months ago

Iirc, potions in 1.7.10 still have a predetermined ID they have to be manually set to, similar to item IDs in the olden days of modding, and if two mods set their potions to the same ID (very likely from all the mods you have), the game will crash. Honestly I'm not sure why you'd add NTM to a pack full of tech mods, it's practically as large as a modpack itself, and its energy and fluid systems are incompatible with other mods, it works best alone imo.

HbmMods commented 7 months ago

Potion IDs only go up to 126, setting them to a higher value will either crash the game or in some cases simply prevent the potion from working. The default config should have all NTM potions below 100, so it's unlikely that NTM itself is doing it.

16bitBunny commented 7 months ago

Potion IDs only go up to 126, setting them to a higher value will either crash the game or in some cases simply prevent the potion from working. The default config should have all NTM potions below 100, so it's unlikely that NTM itself is doing it.

That's the problem, those were at 21-24 and now with the update they're on 62-73 and working; no mods removed lol, I really dunno what caused it but thanks for the help and sorry for inconvenience, if any

16bitBunny commented 7 months ago

Iirc, potions in 1.7.10 still have a predetermined ID they have to be manually set to, similar to item IDs in the olden days of modding, and if two mods set their potions to the same ID (very likely from all the mods you have), the game will crash. Honestly I'm not sure why you'd add NTM to a pack full of tech mods, it's practically as large as a modpack itself, and its energy and fluid systems are incompatible with other mods, it works best alone imo.

IE have the lamps like real life, I use them to convert HE into RF to use as city builds, and others to measure the amount of incoming energy - mostly because I love tech mods a lot and some do well together; I can put a maximum energy input into a draconic reactor without it blowing even when it surpasses the limit lmao, or some for aesthetic