SilentChaos512 / ScalingHealth

Minecraft mod that allows adjusting of player and mob health.
MIT License
45 stars 37 forks source link

Can't Launch Game in 1.18.2 Forge 40.1.25 #402

Open lcy0x1 opened 2 years ago

lcy0x1 commented 2 years ago

Versions

Expected Behavior

Game start

Actual Behavior

Game won't start

Links/Images

[13:40:59] [main/INFO]: ModLauncher running: args [--username, lcy0x1, --version, SH-test, --gameDir, /Users/arthur/root/minecraft/xkmod/.minecraft/versions/SH-test, --assetsDir, /Users/arthur/root/minecraft/xkmod/.minecraft/assets, --assetIndex, 1.18, --uuid, 5f0376e6764f414d811110375f2a8dcb, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, mojang, --versionType, HMCL 3.5.3, --width, 854, --height, 480, --launchTarget, forgeclient, --fml.forgeVersion, 40.1.25, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[13:40:59] [main/INFO]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Oracle Corporation
[13:40:59] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/Users/arthur/root/minecraft/xkmod/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT
[13:40:59] [main/WARN]: Configuration file /Users/arthur/root/minecraft/xkmod/.minecraft/versions/SH-test/config/fml.toml is not correct. Correcting
[13:40:59] [main/WARN]: Incorrect key [defaultConfigPath] was corrected from null to defaultconfigs
[13:40:59] [main/INFO]: Found mod file [Content:Mob] ScalingHealth-1.18.2-6.2.1+4.jar of type MOD with locator {mods folder locator at /Users/arthur/root/minecraft/xkmod/.minecraft/versions/SH-test/mods}
[13:40:59] [main/INFO]: Found mod file [Library:ScalingHealth] silent-lib-1.18.2-6.2.0.jar of type MOD with locator {mods folder locator at /Users/arthur/root/minecraft/xkmod/.minecraft/versions/SH-test/mods}
[13:40:59] [main/INFO]: Found mod file fmlcore-1.18.2-40.1.25.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@1bb1fde8
[13:40:59] [main/INFO]: Found mod file javafmllanguage-1.18.2-40.1.25.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@1bb1fde8
[13:40:59] [main/INFO]: Found mod file mclanguage-1.18.2-40.1.25.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@1bb1fde8
[13:40:59] [main/INFO]: Found mod file client-1.18.2-20220404.173914-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@1bb1fde8
[13:40:59] [main/INFO]: Found mod file forge-1.18.2-40.1.25-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@1bb1fde8
[13:41:00] [main/INFO]: Launching target 'forgeclient' with arguments [--version, SH-test, --gameDir, /Users/arthur/root/minecraft/xkmod/.minecraft/versions/SH-test, --assetsDir, /Users/arthur/root/minecraft/xkmod/.minecraft/assets, --uuid, 5f0376e6764f414d811110375f2a8dcb, --username, lcy0x1, --assetIndex, 1.18, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, mojang, --versionType, HMCL 3.5.3, --width, 854, --height, 480]
[13:41:06] [Render thread/WARN]: Assets URL 'union:/Users/arthur/root/minecraft/xkmod/.minecraft/libraries/net/minecraft/client/1.18.2-20220404.173914/client-1.18.2-20220404.173914-srg.jar%2354!/assets/.mcassetsroot' uses unexpected schema
[13:41:06] [Render thread/WARN]: Assets URL 'union:/Users/arthur/root/minecraft/xkmod/.minecraft/libraries/net/minecraft/client/1.18.2-20220404.173914/client-1.18.2-20220404.173914-srg.jar%2354!/data/.mcassetsroot' uses unexpected schema
[13:41:06] [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'
[13:41:06] [Render thread/INFO]: Setting user: lcy0x1
[13:41:06] [Render thread/INFO]: Backend library: LWJGL version 3.2.1 SNAPSHOT
[13:41:07] [modloading-worker-0/INFO]: Forge mod loading, version 40.1.25, for MC 1.18.2 with MCP 20220404.173914
[13:41:07] [modloading-worker-0/INFO]: MinecraftForge v40.1.25 Initialized

It stuck here for 10 minutes

Steps to Reproduce the Problem

  1. Install forge 40.1.25
  2. add silent lib and scaling health
  3. launch game

Further Information

adding more mods may work, but it would also cause the issue that game stuck on world 100% loading (on default world type only, works fine for superflat).

Development Environment Behavior

It also happens in development environment. The game freezes on net.minecraftforge.network.NetworkInitialization#29

lcy0x1 commented 2 years ago

Method to Fix

calls NetworkConstants.init() Before calling Network.init()

vlad0-0 commented 2 years ago

A similar problem is still present (Forge 40.1.54, scaling health 6.2.1+4, silent lib 6.2.0)