Jump to content

Forge and FML


Alron

Recommended Posts

Forge is an API, of sorts, to allow mods to work without creating conflicts due to all the base-class editing.  Instead Forge does it once and mods just use hooks to make the changes they need.

 

ModLoader is an API, of sorts, that allows mods to work without creating conflicts, blah blah blah, written by different authors with a slightly different feature set.

 

FML (Forge ModLoader) is an API-API that allows Forge to run ModLoader mods without needing ModLoader installed.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

So if I make a mod with Forge, why do I need things from FML in my base mod class?

 

If you are using any of the FML (or ModLoader) classes, you're doing it wrong.

 

You need to find out the correct Forge class/method to call (use Eclipse's navigation tools to go look at the FML method to find the Forge method it calls, then change your code).

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Not entirely correct

FML is the Forge version of ML (Mod Loader), it has still compatibility with ModLoader mods to some degree but that may vanish with 1.7 due to the way ML is updated (late and poorly in my opinion but whatever).

 

FML does do everything ModLoader does, but it does so without base edits.

FML is the one responsible for finding @Mod files and making them into mod containers and load the mod.

The @Mod annotation, the Sidedproxy and Intialization events are all parts of FML.

 

 

As for the differences between forge and FML, well according to their github repo FML is "The Forge Mod Loader - an opensource replacement mod loader for minecraft"

 

While Forge is "Modifications to the Minecraft base files to assist in compatibility between mods."

More detailed explenation than that and I'd want to wait for Goto or Diesieben to reply

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello! I have been up and down Google and other search engines looking for any tutorials or example code to create a Mod Menu Configuration Screen. I have found one, but it's for an older version of Forge and Minecraft, which you can find here by Leo3418. I'm not sure if that's the most recent and relevant tutorial on creating a Mod Menu Configuration Screen, as I'm unable to get his code to work. Any available resources on this topic would be greatly appreciated!
    • I downloaded some mods for minecraft 1.18.1 and there is an error between the FancyMenu mod and Flash NPC but I don't know how to solve it... any help? thank. The game crashed whilst rendering overlay Error: java.lang.ExceptionInInitializerError: null ---- Minecraft Crash Report ---- // My bad. Time: 10/1/23, 1:40 AM Description: Rendering overlay java.lang.ExceptionInInitializerError: null     at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.applyLayout(MenuHandlerBase.java:961) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.onButtonsCached(MenuHandlerBase.java:478) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at de.keksuccino.fancymenu.menu.fancy.menuhandler.custom.MainMenuHandler.onButtonsCached(MainMenuHandler.java:92) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at net.minecraftforge.eventbus.ASMEventHandler_55_MenuHandlerBase_onButtonsCached_ButtonCachedEvent.invoke(.dynamic) ~[?:?] {}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at de.keksuccino.fancymenu.menu.button.ButtonCache.cache(ButtonCache.java:95) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at de.keksuccino.fancymenu.menu.button.ButtonCache.onInitCompleted(ButtonCache.java:46) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at net.minecraftforge.eventbus.ASMEventHandler_74_ButtonCache_onInitCompleted_GuiInitCompletedEvent.invoke(.dynamic) ~[?:?] {}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraft.client.gui.screens.Screen.handler$zzd000$onInitCompleted(Screen.java:736) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinScreen,pl:mixin:APP:konkrete.mixin.json:client.MixinScreen,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_6575_(Screen.java:427) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinScreen,pl:mixin:APP:konkrete.mixin.json:client.MixinScreen,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91152_(Minecraft.java:916) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at de.keksuccino.fancymenu.menu.fancy.MenuCustomization.reloadCurrentMenu(MenuCustomization.java:250) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:mixin,re:classloading}     at net.minecraft.client.Minecraft.handler$zze000$onSetLoadingGui(Minecraft.java:2863) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91150_(Minecraft.java) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.LoadingOverlay.m_6305_(LoadingOverlay.java:128) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:fancymenu.general.mixin.json:MixinLoadingOverlay,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:875) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1041) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:661) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.1.0.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} Caused by: java.lang.IllegalStateException: Tag minecraft:axolotl_tempt_items used before it was bound     at net.minecraft.tags.StaticTagHelper$Wrapper.m_13263_(StaticTagHelper.java:142) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.tags.StaticTagHelper$Wrapper.m_6497_(StaticTagHelper.java:157) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.world.item.crafting.Ingredient$TagValue.m_6223_(Ingredient.java:271) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.world.item.crafting.Ingredient.lambda$new$2(Ingredient.java:51) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:?] {}     at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) ~[?:?] {}     at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) ~[?:?] {}     at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) ~[?:?] {}     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) ~[?:?] {}     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] {}     at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) ~[?:?] {}     at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) ~[?:?] {}     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] {}     at java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:632) ~[?:?] {}     at net.minecraft.world.item.crafting.Ingredient.<init>(Ingredient.java:51) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.world.item.crafting.Ingredient.m_43938_(Ingredient.java:165) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.world.item.crafting.Ingredient.m_43911_(Ingredient.java:188) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.animal.axolotl.AxolotlAi.m_149287_(AxolotlAi.java:182) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.world.entity.ai.sensing.SensorType.m_148319_(SensorType.java:26) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.ai.sensing.SensorType.m_26827_(SensorType.java:38) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.ai.Brain.<init>(Brain.java:145) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.world.entity.ai.Brain$1.decode(Brain.java:92) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at com.mojang.serialization.MapDecoder.lambda$compressedDecode$0(MapDecoder.java:52) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.MapDecoder.compressedDecode(MapDecoder.java:52) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.MapCodec$MapCodecCodec.decode(MapCodec.java:91) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.Decoder.parse(Decoder.java:18) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.codecs.FieldDecoder.decode(FieldDecoder.java:29) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.MapCodec$1.decode(MapCodec.java:34) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.MapDecoder.lambda$compressedDecode$0(MapDecoder.java:52) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.MapDecoder.compressedDecode(MapDecoder.java:52) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.MapCodec$MapCodecCodec.decode(MapCodec.java:91) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.Decoder.decode(Decoder.java:22) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at com.mojang.serialization.Decoder.parse(Decoder.java:26) ~[datafixerupper-4.0.26.jar%2337!/:?] {}     at net.minecraft.world.entity.ai.Brain$Provider.m_22073_(Brain.java:64) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.world.entity.animal.axolotl.Axolotl.m_8075_(Axolotl.java:549) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.world.entity.LivingEntity.<init>(LivingEntity.java:239) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,re:mixin}     at net.minecraft.world.entity.Mob.<init>(Mob.java:116) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B}     at net.minecraft.world.entity.PathfinderMob.<init>(PathfinderMob.java:14) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.world.entity.AgeableMob.<init>(AgeableMob.java:28) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.world.entity.animal.Animal.<init>(Animal.java:40) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.world.entity.animal.axolotl.Axolotl.<init>(Axolotl.java:164) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.world.entity.EntityType.m_20615_(EntityType.java:458) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at flash.npcmod.core.EntityUtil.lambda$loadAllEntitiesIntoEnum$0(EntityUtil.java:12) ~[flashnpcs-1.18.1-1.1.4v2.jar%2353!/:1.1.4v2] {re:classloading}     at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {}     at flash.npcmod.core.EntityUtil.loadAllEntitiesIntoEnum(EntityUtil.java:11) ~[flashnpcs-1.18.1-1.1.4v2.jar%2353!/:1.1.4v2] {re:classloading}     at flash.npcmod.events.Events.onWorldLoad(Events.java:31) ~[flashnpcs-1.18.1-1.1.4v2.jar%2353!/:1.1.4v2] {re:classloading}     at net.minecraftforge.eventbus.ASMEventHandler_27_Events_onWorldLoad_Load.invoke(.dynamic) ~[?:?] {}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraft.client.multiplayer.ClientLevel.<init>(ClientLevel.java:134) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:runtimedistcleaner:A}     at de.keksuccino.fancymenu.menu.fancy.item.playerentity.DummyWorldFactory$DummyClientWorld.<init>(DummyWorldFactory.java:56) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at de.keksuccino.fancymenu.menu.fancy.item.playerentity.DummyWorldFactory.getDummyClientWorld(DummyWorldFactory.java:50) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at de.keksuccino.fancymenu.menu.fancy.item.playerentity.PlayerEntityCustomizationItem.<clinit>(PlayerEntityCustomizationItem.java:68) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     ... 37 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.applyLayout(MenuHandlerBase.java:961) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.onButtonsCached(MenuHandlerBase.java:478) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at de.keksuccino.fancymenu.menu.fancy.menuhandler.custom.MainMenuHandler.onButtonsCached(MainMenuHandler.java:92) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at net.minecraftforge.eventbus.ASMEventHandler_55_MenuHandlerBase_onButtonsCached_ButtonCachedEvent.invoke(.dynamic) ~[?:?] {}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at de.keksuccino.fancymenu.menu.button.ButtonCache.cache(ButtonCache.java:95) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at de.keksuccino.fancymenu.menu.button.ButtonCache.onInitCompleted(ButtonCache.java:46) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:classloading}     at net.minecraftforge.eventbus.ASMEventHandler_74_ButtonCache_onInitCompleted_GuiInitCompletedEvent.invoke(.dynamic) ~[?:?] {}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}     at net.minecraft.client.gui.screens.Screen.handler$zzd000$onInitCompleted(Screen.java:736) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinScreen,pl:mixin:APP:konkrete.mixin.json:client.MixinScreen,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.Screen.m_6575_(Screen.java:427) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinScreen,pl:mixin:APP:konkrete.mixin.json:client.MixinScreen,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91152_(Minecraft.java:916) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at de.keksuccino.fancymenu.menu.fancy.MenuCustomization.reloadCurrentMenu(MenuCustomization.java:250) ~[fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar%2352!/:1.0.0] {re:mixin,re:classloading}     at net.minecraft.client.Minecraft.handler$zze000$onSetLoadingGui(Minecraft.java:2863) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91150_(Minecraft.java) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.gui.screens.LoadingOverlay.m_6305_(LoadingOverlay.java:128) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:fancymenu.general.mixin.json:MixinLoadingOverlay,pl:mixin:A,pl:runtimedistcleaner:A} -- Overlay render details -- Details:     Overlay name: net.minecraft.client.gui.screens.LoadingOverlay Stacktrace:     at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:875) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1041) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:661) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.1.0.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} -- Last reload -- Details:     Reload number: 1     Reload reason: initial     Finished: Yes     Packs: Default, Mod Resources Stacktrace:     at net.minecraft.client.ResourceLoadStateTracker.m_168562_(ResourceLoadStateTracker.java:49) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading}     at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2256) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:678) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fancymenu.general.mixin.json:MixinMinecraft,pl:mixin:APP:konkrete.mixin.json:client.MixinMinecraft,pl:mixin:A,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:205) ~[client-1.18.1-20211210.034407-srg.jar%2355!/:?] {re:classloading,pl:runtimedistcleaner:A}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}     at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}     at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:45) ~[fmlloader-1.18.1-39.1.0.jar%2323!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.0.jar%235!/:?] {}     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?] {} -- System Details -- Details:     Minecraft Version: 1.18.1     Minecraft Version ID: 1.18.1     Operating System: Windows 10 (amd64) version 10.0     Java Version: 17.0.1, Microsoft     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft     Memory: 1677840600 bytes (1600 MiB) / 2323644416 bytes (2216 MiB) up to 4294967296 bytes (4096 MiB)     CPUs: 6     Processor Vendor: GenuineIntel     Processor Name: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz     Identifier: Intel64 Family 6 Model 158 Stepping 10     Microarchitecture: Coffee Lake     Frequency (GHz): 2.81     Number of physical packages: 1     Number of physical CPUs: 6     Number of logical CPUs: 6     Graphics card #0 name: Intel(R) UHD Graphics 630     Graphics card #0 vendor: Intel Corporation (0x8086)     Graphics card #0 VRAM (MB): 1024.00     Graphics card #0 deviceId: 0x3e92     Graphics card #0 versionInfo: DriverVersion=26.20.100.7642     Graphics card #1 name: NVIDIA GeForce GTX 1050 Ti     Graphics card #1 vendor: NVIDIA (0x10de)     Graphics card #1 VRAM (MB): 4095.00     Graphics card #1 deviceId: 0x1c82     Graphics card #1 versionInfo: DriverVersion=31.0.15.3667     Memory slot #0 capacity (MB): 4096.00     Memory slot #0 clockSpeed (GHz): 2.40     Memory slot #0 type: DDR4     Memory slot #1 capacity (MB): 8192.00     Memory slot #1 clockSpeed (GHz): 2.40     Memory slot #1 type: DDR4     Memory slot #2 capacity (MB): 4096.00     Memory slot #2 clockSpeed (GHz): 2.40     Memory slot #2 type: DDR4     Virtual memory max (MB): 21112.43     Virtual memory used (MB): 14796.13     Swap memory total (MB): 4864.00     Swap memory used (MB): 144.98     JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m     Launched Version: forge-39.1.0     Backend library: LWJGL version 3.2.2 SNAPSHOT     Backend API: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 536.67, NVIDIA Corporation     Window size: 1920x1080     GL Caps: Using framebuffer using OpenGL 3.2     GL debug messages:      Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'     Type: Client (map_client.txt)     Graphics mode: fancy     Resource Packs:      Current Language: English (US)     CPU: 6x Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz     ModLauncher: 9.1.0+9.1.0+main.6690ee51     ModLauncher launch target: forgeclient     ModLauncher naming: srg     ModLauncher services:           mixin PLUGINSERVICE           eventbus PLUGINSERVICE           object_holder_definalize PLUGINSERVICE           runtime_enum_extender PLUGINSERVICE           capability_token_subclass PLUGINSERVICE           accesstransformer PLUGINSERVICE           runtimedistcleaner PLUGINSERVICE           mixin TRANSFORMATIONSERVICE           fml TRANSFORMATIONSERVICE      FML Language Providers:          minecraft@1.0         javafml@null     Mod List:          client-1.18.1-20211210.034407-srg.jar             |Minecraft                     |minecraft                     |1.18.1              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f         forge-1.18.1-39.1.0-universal.jar                 |Forge                         |forge                         |39.1.0              |DONE      |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90         fancymenu_forge_2.7.2-1_MC_1.18-1.18.1.jar        |FancyMenu                     |fancymenu                     |2.7.2               |DONE      |Manifest: NOSIGNATURE         flashnpcs-1.18.1-1.1.4v2.jar                      |Flash's NPCs                  |flashnpcs                     |1.1.4v2             |DONE      |Manifest: NOSIGNATURE         konkrete_forge_1.6.1_MC_1.18-1.18.2.jar           |Konkrete                      |konkrete                      |1.6.1               |DONE      |Manifest: NOSIGNATURE     Crash Report UUID: 5ab0ea85-3394-4ba4-9ac2-23ccb98a42ba     FML: 39.1     Forge: net.minecraftforge:39.1.0
    • I just entered my survival world in my modpack, and the game immediately crashed because of a "memory outage". It was not a memory leak, or else Saturn would have done anything about it. MemoryLeakFix is just a crash-starter not even designed for use with other mods. Modlist: https://gist.github.com/Catomax262/d1b4fda0c61724eb433401888bfd1ed5 Latest log: https://mclo.gs/PgFaYWs Launcher output: https://gist.github.com/Catomax262/9851218c72671abfc0a1397817e2d017 Forge version: 40.2.10 Allocated mem: 14.5 GB JVM Arguments: -Xss1M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Djava.net.preferIPv4Stack=true For some reason, a recent cleanup i had with my computer tampered a lot with Minecraft's inner process. Or it may have been the following reasons: A mod i installed has no compatibility (might not be the issue) I'm allocating too much memory (for now i can only afford 16 gigs, i can't upgrade my RAM because i have no money) I have too many mods installed I might have moved or deleted a key file A recent mod is causing a major memory gobble I already restarted my PC like 2 times. I can't allocate more than 15 GB, or else my PC starts failing. Firefox consumes like 2 GB (18%) on its own. 42% of the Memory is in idle use. (with minecraft closed.) With everything closed, i launch Minecraft, it runs decently. That is, until i load a world. The memory literally skyrockets and causes an instant crash. The funniest thing is that it was working properly the past week. No memory leaks, no outages, no crashes. It all went smoothly. Sure, it was until i updated some mods and added like 3 small mods. I also recall it specifying something about 32 GB. Hah, who on earth thinks i can afford 32 GB of RAM? A 2-set of cheap 16 GB cards is about 40 USD, which i don't even have the money for. Edit: Funniest thing, before the restart, Valhelsia Structures was crashing because of its famous doused torch mixin error, but turns out that it crashed even in the previous forge version (40.2.5). Now, it makes me think that it's running normally. Before all of this, it even let me use MC and Firefox simultaneously. Now, if i start Firefox, it can't even get past the startup segment. Idk what happened, and how a simple update of some mods lead to it becoming memory-hungry.
    • Thank you so much, there was so much blocked text haha. That'll help so much!
    • Checked my Java and forge versions and they all seem to be fine so I'm a bit puzzled.  Pastebin: https://pastebin.com/AGjAqnvw
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.