Jump to content

Forge Stuck at Mojang screen [1.19.4]


Recommended Posts

[18:32:13] [main/INFO]: ModLauncher running: args [--username, Symo_TMS, --version, forge-45.0.50, --gameDir, C:\Users\simon\curseforge\minecraft\Instances\Pipe-Test, --assetsDir, C:\Users\simon\curseforge\minecraft\Install\assets, --assetIndex, 3, --uuid, 30825234fc20424394038359e1567944, --accessToken, ????????, --clientId, MWJlZjkwZDgtZTU5YS00ODUzLWIwZDUtZjRjMDQ5ZmYwODEx, --xuid, 2535424154693014, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 45.0.50, --fml.mcVersion, 1.19.4, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20230314.122934]
[18:32:13] [main/INFO]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.3 by Microsoft; OS Windows 10 arch amd64 version 10.0
[18:32:13] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/simon/curseforge/minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2397!/ Service=ModLauncher Env=CLIENT
[18:32:13] [main/WARN]: Configuration file C:\Users\simon\curseforge\minecraft\Instances\Pipe-Test\config\fml.toml is not correct. Correcting
[18:32:13] [main/WARN]: Incorrect key [defaultConfigPath] was corrected from null to defaultconfigs
[18:32:13] [main/INFO]: Found mod file actualgenerators-0.0.1-1.19.jar of type MOD with provider {mods folder locator at C:\Users\simon\curseforge\minecraft\Instances\Pipe-Test\mods}
[18:32:14] [main/WARN]: Mod file C:\Users\simon\curseforge\minecraft\Install\libraries\net\minecraftforge\fmlcore\1.19.4-45.0.50\fmlcore-1.19.4-45.0.50.jar is missing mods.toml file
[18:32:14] [main/WARN]: Mod file C:\Users\simon\curseforge\minecraft\Install\libraries\net\minecraftforge\javafmllanguage\1.19.4-45.0.50\javafmllanguage-1.19.4-45.0.50.jar is missing mods.toml file
[18:32:14] [main/WARN]: Mod file C:\Users\simon\curseforge\minecraft\Install\libraries\net\minecraftforge\lowcodelanguage\1.19.4-45.0.50\lowcodelanguage-1.19.4-45.0.50.jar is missing mods.toml file
[18:32:14] [main/WARN]: Mod file C:\Users\simon\curseforge\minecraft\Install\libraries\net\minecraftforge\mclanguage\1.19.4-45.0.50\mclanguage-1.19.4-45.0.50.jar is missing mods.toml file
[18:32:14] [main/INFO]: Found mod file fmlcore-1.19.4-45.0.50.jar of type LIBRARY with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@6f8d7714
[18:32:14] [main/INFO]: Found mod file javafmllanguage-1.19.4-45.0.50.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@6f8d7714
[18:32:14] [main/INFO]: Found mod file lowcodelanguage-1.19.4-45.0.50.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@6f8d7714
[18:32:14] [main/INFO]: Found mod file mclanguage-1.19.4-45.0.50.jar of type LANGPROVIDER with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@6f8d7714
[18:32:14] [main/INFO]: Found mod file client-1.19.4-20230314.122934-srg.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@6f8d7714
[18:32:14] [main/INFO]: Found mod file forge-1.19.4-45.0.50-universal.jar of type MOD with provider net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@6f8d7714
[18:32:14] [main/INFO]: No dependencies to load found. Skipping!
[18:32:15] [main/INFO]: Launching target 'forgeclient' with arguments [--version, forge-45.0.50, --gameDir, C:\Users\simon\curseforge\minecraft\Instances\Pipe-Test, --assetsDir, C:\Users\simon\curseforge\minecraft\Install\assets, --uuid, 30825234fc20424394038359e1567944, --username, Symo_TMS, --assetIndex, 3, --accessToken, ????????, --clientId, MWJlZjkwZDgtZTU5YS00ODUzLWIwZDUtZjRjMDQ5ZmYwODEx, --xuid, 2535424154693014, --userType, msa, --versionType, release, --width, 1024, --height, 768]
[18:32:20] [Datafixer Bootstrap/INFO]: 180 Datafixer optimizations took 127 milliseconds
[18:32:21] [Render thread/WARN]: Assets URL 'union:/C:/Users/simon/curseforge/minecraft/Install/libraries/net/minecraft/client/1.19.4-20230314.122934/client-1.19.4-20230314.122934-srg.jar%23154!/assets/.mcassetsroot' uses unexpected schema
[18:32:21] [Render thread/WARN]: Assets URL 'union:/C:/Users/simon/curseforge/minecraft/Install/libraries/net/minecraft/client/1.19.4-20230314.122934/client-1.19.4-20230314.122934-srg.jar%23154!/data/.mcassetsroot' uses unexpected schema
[18:32:21] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[18:32:22] [Render thread/INFO]: Setting user: Symo_TMS
[18:32:22] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 build 7
[18:32:23] [modloading-worker-0/INFO]: Forge mod loading, version 45.0.50, for MC 1.19.4 with MCP 20230314.122934
[18:32:23] [modloading-worker-0/INFO]: MinecraftForge v45.0.50 Initialized
[18:32:31] [Render thread/INFO]: Reloading ResourceManager: vanilla, mod_resources
[18:32:32] [modloading-worker-0/WARN]: Configuration file C:\Users\simon\curseforge\minecraft\Instances\Pipe-Test\config\forge-client.toml is not correct. Correcting
[18:32:32] [modloading-worker-0/WARN]: Incorrect key client was corrected from null to its default, SimpleCommentedConfig:{}. 
[18:32:32] [modloading-worker-0/WARN]: Incorrect key client.alwaysSetupTerrainOffThread was corrected from null to its default, false. 
[18:32:32] [modloading-worker-0/WARN]: Incorrect key client.experimentalForgeLightPipelineEnabled was corrected from null to its default, false. 
[18:32:32] [modloading-worker-0/WARN]: Incorrect key client.showLoadWarnings was corrected from null to its default, true. 
[18:32:32] [modloading-worker-0/WARN]: Incorrect key client.useCombinedDepthStencilAttachment was corrected from null to its default, false. 
[18:32:32] [modloading-worker-0/WARN]: Incorrect key client.compressLanIPv6Addresses was corrected from null to its default, true. 
[18:32:32] [modloading-worker-0/WARN]: Configuration file C:\Users\simon\curseforge\minecraft\Instances\Pipe-Test\config\forge-common.toml is not correct. Correcting
[18:32:32] [modloading-worker-0/WARN]: Incorrect key general was corrected from null to its default, SimpleCommentedConfig:{}. 
[18:32:32] [modloading-worker-0/WARN]: Incorrect key general.cachePackAccess was corrected from null to its default, true. 
[18:32:32] [modloading-worker-0/WARN]: Incorrect key general.indexVanillaPackCachesOnThread was corrected from null to its default, false. 
[18:32:32] [modloading-worker-0/WARN]: Incorrect key general.indexModPackCachesOnThread was corrected from null to its default, false. 
[18:32:32] [Forge Version Check/INFO]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json
[18:32:33] [Forge Version Check/INFO]: [forge] Found status: BETA Current: 45.0.50 Target: 45.0.50
[18:32:41] [Thread-6/ERROR]: An error occurred building event handler
java.lang.NullPointerException: Cannot invoke "java.lang.ClassLoader.loadClass(String)" because the return value of "java.lang.Thread.getContextClassLoader()" is null
    at net.minecraftforge.eventbus.EventSubclassTransformer.buildEvents(EventSubclassTransformer.java:92) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventSubclassTransformer.transform(EventSubclassTransformer.java:44) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventBusEngine.processClass(EventBusEngine.java:26) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.service.ModLauncherService.processClassWithFlags(ModLauncherService.java:32) ~[eventbus-6.0.3.jar:6.0.3+6.0.3+master.039e4ea9]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.6.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
[18:32:41] [Thread-6/ERROR]: An error occurred building event handler
java.lang.NullPointerException: Cannot invoke "java.lang.ClassLoader.loadClass(String)" because the return value of "java.lang.Thread.getContextClassLoader()" is null
    at net.minecraftforge.eventbus.EventSubclassTransformer.buildEvents(EventSubclassTransformer.java:92) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventSubclassTransformer.transform(EventSubclassTransformer.java:44) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventBusEngine.processClass(EventBusEngine.java:26) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.service.ModLauncherService.processClassWithFlags(ModLauncherService.java:32) ~[eventbus-6.0.3.jar:6.0.3+6.0.3+master.039e4ea9]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.6.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
[18:32:41] [Thread-6/ERROR]: An error occurred building event handler
java.lang.NullPointerException: Cannot invoke "java.lang.ClassLoader.loadClass(String)" because the return value of "java.lang.Thread.getContextClassLoader()" is null
    at net.minecraftforge.eventbus.EventSubclassTransformer.buildEvents(EventSubclassTransformer.java:92) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventSubclassTransformer.transform(EventSubclassTransformer.java:44) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventBusEngine.processClass(EventBusEngine.java:26) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.service.ModLauncherService.processClassWithFlags(ModLauncherService.java:32) ~[eventbus-6.0.3.jar:6.0.3+6.0.3+master.039e4ea9]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.6.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
    at net.minecraftforge.client.gui.ModListScreen.<init>(ModListScreen.java:101) ~[?:?]
[18:32:41] [Thread-6/ERROR]: An error occurred building event handler
java.lang.NullPointerException: Cannot invoke "java.lang.ClassLoader.loadClass(String)" because the return value of "java.lang.Thread.getContextClassLoader()" is null
    at net.minecraftforge.eventbus.EventSubclassTransformer.buildEvents(EventSubclassTransformer.java:92) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventSubclassTransformer.transform(EventSubclassTransformer.java:44) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventBusEngine.processClass(EventBusEngine.java:26) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.service.ModLauncherService.processClassWithFlags(ModLauncherService.java:32) ~[eventbus-6.0.3.jar:6.0.3+6.0.3+master.039e4ea9]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.6.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
    at net.minecraftforge.client.gui.ModListScreen.<init>(ModListScreen.java:101) ~[?:?]
[18:32:41] [Thread-6/ERROR]: An error occurred building event handler
java.lang.NullPointerException: Cannot invoke "java.lang.ClassLoader.loadClass(String)" because the return value of "java.lang.Thread.getContextClassLoader()" is null
    at net.minecraftforge.eventbus.EventSubclassTransformer.buildEvents(EventSubclassTransformer.java:92) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventSubclassTransformer.transform(EventSubclassTransformer.java:44) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.EventBusEngine.processClass(EventBusEngine.java:26) ~[eventbus-6.0.3.jar:?]
    at net.minecraftforge.eventbus.service.ModLauncherService.processClassWithFlags(ModLauncherService.java:32) ~[eventbus-6.0.3.jar:6.0.3+6.0.3+master.039e4ea9]
    at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.6.jar:?]
    at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.6.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
    at net.minecraftforge.client.gui.ModListScreen.<init>(ModListScreen.java:101) ~[?:?]
[18:33:01] [Render thread/INFO]: Stopping!
[18:33:01] [Render thread/ERROR]: Shutdown failure!
java.util.ConcurrentModificationException: null
    at java.util.HashMap.forEach(HashMap.java:1424) ~[?:?]
    at net.minecraft.client.renderer.texture.TextureManager.close(TextureManager.java:178) ~[client-1.19.4-20230314.122934-srg.jar%23154!/:?]
    at net.minecraft.client.Minecraft.close(Minecraft.java:1084) ~[client-1.19.4-20230314.122934-srg.jar%23154!/:?]
    at net.minecraft.client.Minecraft.m_91393_(Minecraft.java:1057) ~[client-1.19.4-20230314.122934-srg.jar%23154!/:?]
    at net.minecraft.client.main.Main.main(Main.java:221) ~[forge-45.0.50.jar:?]
    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:27) ~[fmlloader-1.19.4-45.0.50.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.8.jar:?]
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]
 

Link to comment
Share on other sites

Post a link to the logs/debug.log

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Read my footer.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Quote

[02May2023 19:11:41.834] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\simon\curseforge\minecraft\Instances\Pipe-Test\mods\actualgenerators-0.0.1-1.19.jar

Try without this mod, since it is the only mod loaded.

The only error in that log is an invalid context classloader.

Which suggests it is doing something broken with threads?

Or it is causing some other problem but "eating" and not logging the error.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

There is no error in the log that points to what is wrong.

The only hint beyond the context classloader is the last thing in the log suggests it was processing textures when it hit the problem.

You will need to debug it.

Or put enough code on github that reproduces the problem so we can build and run the mod ourselves.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

My Block Class:

 

public class ItemPipeBlock extends BaseEntityBlock implements IForgeBlock {

public static final BooleanProperty NORTH_CONNECTION = BooleanProperty.create("north");
public static final BooleanProperty SOUTH_CONNECTION = BooleanProperty.create("south");
public static final BooleanProperty EAST_CONNECTION = BooleanProperty.create("east");
public static final BooleanProperty WEST_CONNECTION = BooleanProperty.create("west");
public static final BooleanProperty TOP_CONNECTION = BooleanProperty.create("top");
public static final BooleanProperty BOTTOM_CONNECTION = BooleanProperty.create("bottom");

//public static final EnumProperty<EConnectionType> UP_TYPE = EnumProperty.create("up_type", EConnectionType.class);
//public static final EnumProperty<EConnectionType> DOWN_TYPE = EnumProperty.create("down_type", EConnectionType.class);
//public static final EnumProperty<EConnectionType> NORTH_TYPE = EnumProperty.create("north_type", EConnectionType.class);
//public static final EnumProperty<EConnectionType> EAST_TYPE = EnumProperty.create("east_type", EConnectionType.class);
//public static final EnumProperty<EConnectionType> SOUTH_TYPE = EnumProperty.create("south_type", EConnectionType.class);
//public static final EnumProperty<EConnectionType> WEST_TYPE = EnumProperty.create("west_type", EConnectionType.class);

if the commented code is commented it works

Link to comment
Share on other sites

Sorry, but posting random snippets of code out of context in the forums will just get your question ignored.

We have no psychic powers.

You don't even show what EConnectionType is. And no that is probably not enough by itself.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

I used jstack to get a thread dump of the minecraft process.

It looks like it is stuck in your getShape method for some reason.

I haven't tried to figure out why. But it looks like it is looping judging by the cpu usage.

Quote

"modloading-worker-0" #28 daemon prio=5 os_prio=0 cpu=200953.12ms elapsed=336.85s tid=0x000001dce2342930 nid=0x4370 runnable  [0x000000daaf3fd000]
   java.lang.Thread.State: RUNNABLE
        at net.minecraft.world.phys.shapes.IndirectMerger.forMergedIndexes([email protected]/IndirectMerger.java:80)
        - parking to wait for  <0x00000007fe301578> (a java.util.concurrent.ForkJoinPool)
        at net.minecraft.world.phys.shapes.BitSetDiscreteVoxelShape.lambda$join$1([email protected]/BitSetDiscreteVoxelShape.java:129)
        at net.minecraft.world.phys.shapes.BitSetDiscreteVoxelShape$$Lambda$1463/0x00000008011e6000.merge([email protected]/Unknown Source)
        at net.minecraft.world.phys.shapes.IndirectMerger.forMergedIndexes([email protected]/IndirectMerger.java:80)
        at net.minecraft.world.phys.shapes.BitSetDiscreteVoxelShape.lambda$join$2([email protected]/BitSetDiscreteVoxelShape.java:127)
        at net.minecraft.world.phys.shapes.BitSetDiscreteVoxelShape$$Lambda$1462/0x00000008011dfde0.merge([email protected]/Unknown Source)
        at net.minecraft.world.phys.shapes.NonOverlappingMerger.forNonSwappedIndexes([email protected]/NonOverlappingMerger.java:33)
        at net.minecraft.world.phys.shapes.NonOverlappingMerger.forMergedIndexes([email protected]/NonOverlappingMerger.java:27)
        at net.minecraft.world.phys.shapes.BitSetDiscreteVoxelShape.join([email protected]/BitSetDiscreteVoxelShape.java:125)
        at net.minecraft.world.phys.shapes.Shapes.joinUnoptimized([email protected]/Shapes.java:152)
        at net.minecraft.world.phys.shapes.VoxelShape.lambda$optimize$0([email protected]/VoxelShape.java:79)
        at net.minecraft.world.phys.shapes.VoxelShape$$Lambda$1465/0x00000008011e6868.consume([email protected]/Unknown Source)
        at net.minecraft.world.phys.shapes.VoxelShape.lambda$forAllBoxes$2([email protected]/VoxelShape.java:93)
        at net.minecraft.world.phys.shapes.VoxelShape$$Lambda$1466/0x00000008011e6c80.consume([email protected]/Unknown Source)
        at net.minecraft.world.phys.shapes.BitSetDiscreteVoxelShape.forAllBoxes([email protected]/BitSetDiscreteVoxelShape.java:202)
        at net.minecraft.world.phys.shapes.DiscreteVoxelShape.forAllBoxes([email protected]/DiscreteVoxelShape.java:197)
        at net.minecraft.world.phys.shapes.VoxelShape.forAllBoxes([email protected]/VoxelShape.java:93)
        at net.minecraft.world.phys.shapes.VoxelShape.optimize([email protected]/VoxelShape.java:78)
        at net.minecraft.world.phys.shapes.Shapes.join([email protected]/Shapes.java:128)
        at dev.symo.actualgenerators.block.ItemPipeBlock.getShape([email protected]/ItemPipeBlock.java:221)
        at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.getShape([email protected]/BlockBehaviour.java:624)
        at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.getShape([email protected]/BlockBehaviour.java:620)
        at net.minecraft.world.level.block.state.BlockBehaviour.getCollisionShape([email protected]/BlockBehaviour.java:336)
        at net.minecraft.world.level.block.state.BlockBehaviour.getBlockSupportShape([email protected]/BlockBehaviour.java:283)
        at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.getBlockSupportShape([email protected]/BlockBehaviour.java:636)
        at net.minecraft.world.level.block.SupportType$1.isSupporting([email protected]/SupportType.java:15)
        at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase$Cache.<init>([email protected]/BlockBehaviour.java:886)
        at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.initCache([email protected]/BlockBehaviour.java:485)
        at net.minecraftforge.registries.GameData$BlockCallbacks.onBake([email protected]/GameData.java:510)
        at net.minecraftforge.registries.ForgeRegistry.bake([email protected]/ForgeRegistry.java:645)
        at net.minecraftforge.registries.GameData.lambda$freezeData$11([email protected]/GameData.java:310)
        at net.minecraftforge.registries.GameData$$Lambda$6059/0x0000000801981610.accept([email protected]/Unknown Source)
        at com.google.common.collect.HashBiMap.forEach([email protected]/HashBiMap.java:576)
        at net.minecraftforge.registries.GameData.freezeData([email protected]/GameData.java:308)

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

maybe because my "src/main/resources/assets/actualgenerators/blockstates/item_pipe_block.json" model is so complex?
plus all the

public static final EnumProperty<EConnectionType> UP_TYPE = EnumProperty.create("up_type", EConnectionType.class);
public static final EnumProperty<EConnectionType> DOWN_TYPE = EnumProperty.create("down_type", EConnectionType.class);
public static final EnumProperty<EConnectionType> NORTH_TYPE = EnumProperty.create("north_type", EConnectionType.class);
public static final EnumProperty<EConnectionType> EAST_TYPE = EnumProperty.create("east_type", EConnectionType.class);
public static final EnumProperty<EConnectionType> SOUTH_TYPE = EnumProperty.create("south_type", EConnectionType.class);
public static final EnumProperty<EConnectionType> WEST_TYPE = EnumProperty.create("west_type", EConnectionType.class);

registerDefaultState(
stateDefinition.any()
.setValue(NORTH_CONNECTION, false)
.setValue(SOUTH_CONNECTION, false)
.setValue(EAST_CONNECTION, false)
.setValue(WEST_CONNECTION, false)
.setValue(TOP_CONNECTION, false)
.setValue(BOTTOM_CONNECTION, false)
.setValue(UP_TYPE, EConnectionType.CABLE)
.setValue(DOWN_TYPE, EConnectionType.CABLE)
.setValue(NORTH_TYPE, EConnectionType.CABLE)
.setValue(SOUTH_TYPE, EConnectionType.CABLE)
.setValue(EAST_TYPE, EConnectionType.CABLE)
.setValue(WEST_TYPE, EConnectionType.CABLE));



@Override
protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> builder) {
builder.add(NORTH_CONNECTION, SOUTH_CONNECTION, EAST_CONNECTION, WEST_CONNECTION, TOP_CONNECTION,
BOTTOM_CONNECTION, UP_TYPE, DOWN_TYPE, NORTH_TYPE, SOUTH_TYPE, EAST_TYPE, WEST_TYPE);
}

 

Edited by Simon Hamanek
Link to comment
Share on other sites

It's more likely you have typo, something that is probably totally obvious when you see it, but hard to spot otherwise.

Attach a debugger to the process and step through what it is doing so you can see why it is looping.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Look at your IDE documentation.

You will need to use the relevant gradle task to setup the "run configurations" for your IDE so you can run minecraft inside your IDE.

$ ./gradlew tasks
--snip--
ForgeGradle runs tasks
----------------------
genEclipseRuns
genIntellijRuns
genVSCodeRuns

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

i cant figure it out. i use IntelliJ but when i debug it just stops to respond when i step over my breakpoint

i ran "runClient" with --debug:

2023-05-02T21:05:35.686+0200 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 2: acquired lock on worker lease
2023-05-02T21:05:35.686+0200 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 2: released lock on worker lease
2023-05-02T21:05:36.356+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:05:36.356+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:05:36.356+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:05:36.357+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:05:36.357+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:05:36.357+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:05:46.348+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:05:46.348+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:05:46.348+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:05:46.349+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:05:46.349+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:05:46.349+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:05:56.357+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:05:56.357+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:05:56.357+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:05:56.358+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:05:56.358+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:05:56.358+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:06:05.699+0200 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 2: acquired lock on worker lease
2023-05-02T21:06:05.699+0200 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 2: released lock on worker lease
2023-05-02T21:06:06.350+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:06:06.350+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:06:06.350+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:06:06.351+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:06:06.351+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:06:06.351+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:06:16.352+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:06:16.352+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:06:16.353+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2023-05-02T21:06:16.355+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2023-05-02T21:06:16.355+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2023-05-02T21:06:16.355+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.

Link to comment
Share on other sites

It's not going to work from the runclient task. The process needs to be managed by idea not gradle, hence the run configurations.

and --debug is a logging config for gradle's daemon, totally unrelated.

 

https://docs.minecraftforge.net/en/latest/gettingstarted/#building-and-testing-your-mod

https://www.jetbrains.com/help/idea/debugging-code.html

But its not the purpose of this forum to teach people how to use an IDE, there are other forums for that.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

I just calculated how many states you have for your block, it is 4^6 x 2^6 = 262,144

So I added a debug to log every call to getShape() and it is getting called 22 times per BlockState.

So I don't think it is really looping, its just taking forever because it is calculating 4 million complicated shapes.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

enderio like many such implementations did things dynamically.

The connection state was stored in the BlockEntity not the BlockStates.

 

It then creates and caches what is actually used instead of trying to create every possible state which besides taking forever would waste memory.

 

Here's modern AE2 dynamically creating/caching shapes based on the "parts" that actually make up a cable:

https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/9f23f8d544b7df0cfc0cbb20512e12c4506a808d/src/main/java/appeng/parts/CableBusContainer.java#L1079

and letting each of those parts render themselves

https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/9f23f8d544b7df0cfc0cbb20512e12c4506a808d/src/main/java/appeng/blockentity/networking/CableBusTESR.java#L42

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

ok i am currently trying with custom renders and making the VoxelShape in my TileEntity

i think i have a desync because of the VoxelShape. i have a list of connectiontypes (on the server) but the client knows nothing about them. must i sysnc them with a custom packet? or how can i do this better?

Link to comment
Share on other sites

I told you before this forum is not a search engine.

Familiarise yourself with the docs/wiki, even you don't read all them, skim it so you know what is there.

https://forge.gemwire.uk/wiki/Block_Entities#Synchronizing_the_Data_to_the_Client

And even if it is not on the wiki, your next port of call should be;

* what does vanilla do?

* what do others mod do?

Only when you;'ve exhausted your own research possiblities should you post here and then you need to show what you've implemented not "please write/design my mod for me".

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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