LambDynamicLights

LambDynamicLights

23M Downloads

[Bug] LDL 4.7.1+1.21.8 crashes on NeoForge 1.21.6/7 — deps require 1.21.8

0xCoDSnet opened this issue · 1 comments

commented

Describe the bug
The NeoForge build of LambDynamicLights 4.7.1+1.21.8 is advertised as compatible with Minecraft 1.21.6–1.21.8, but it fails to load on 1.21.6/7. During the pre-loading phase NeoForge reports that SpruceUI, lambdynlights_api, and lambdynlights_runtime require Minecraft ≥ 1.21.8, causing a mod loading failure and crash.

Modrinth lists 4.7.1+1.21.8 as supporting 1.21.6–1.21.8 (Fabric/NeoForge/Quilt), but the JIJ’d SpruceUI (8.0.3+1.21.8) and LambDynamicLights’ own API/runtime set their Minecraft version range to [1.21.8,), making 1.21.6/7 unsupported in practice. (Modrinth)

To Reproduce

  1. Create a new NeoForge 21.6.20-beta instance for Minecraft 1.21.6/7 in Prism Launcher.
  2. Place lambdynamiclights-4.7.1+1.21.8.jar into the mods/ folder (no other mods needed).
  3. Launch the game.
  4. During pre-loading it fails with hard errors and then crashes.

Expected behavior
Either:

  • The game should start successfully on Minecraft 1.21.6/7 (as per the file’s advertised compatibility), or
  • The file’s metadata/listing should not include 1.21.6/7 if the packaged modules require 1.21.8+.

Screenshots

Image

Desktop:

  • OS: Linux (Fedora 42), kernel 6.15.10-200.fc42.x86_64
  • Minecraft: 1.21.6/7
  • Loader: NeoForge 21.6.20-beta (ModLauncher 9.0)
  • Launcher: Prism Launcher 9.4 (flatpak)
  • Java: Microsoft OpenJDK 21.0.7 (amd64)
  • GPU/Drivers: NVIDIA GeForce RTX 4070 Ti SUPER, OpenGL 4.6.0 NVIDIA 575.64.05
  • Mods: lambdynamiclights-4.7.1+1.21.8.jar only
    • JAR-in-JAR found by loader:
      • spruceui-8.0.3+1.21.8-mojmap.jar
      • lambdynamiclights-api-4.7.1+1.21.8-mojmap.jar
      • pridelib-1.4.4+1.21.8-mojmap.jar
      • yumi-mc-foundation-1.0.0-alpha.16+1.21.1-mojmap.jar
  • LambDynamicLights Version: 4.7.1+1.21.8 (NeoForge)
  • Branch: 1.21.8 (NeoForge)

Additional context
Key log/crash lines (trimmed):
Full log

[main/ERROR]: Missing or unsupported mandatory dependencies:
  Mod ID: 'minecraft', Requested by: 'spruceui', Expected range: '[1.21.8,)', Actual version: '1.21.6'
  Mod ID: 'minecraft', Requested by: 'lambdynlights_runtime', Expected range: '[1.21.8,)', Actual version: '1.21.6'
  Mod ID: 'minecraft', Requested by: 'lambdynlights_api', Expected range: '[1.21.8,)', Actual version: '1.21.6'

[FATAL]: Error during pre-loading phase: Mod spruceui requires minecraft 1.21.8 or above
[FATAL]: Error during pre-loading phase: Mod lambdynlights_runtime requires minecraft 1.21.8 or above
[FATAL]: Error during pre-loading phase: Mod lambdynlights_api requires minecraft 1.21.8 or above

Workarounds tested

  • Launching on Minecraft 1.21.8 avoids these errors (expected given the requirements).
  • On Minecraft 1.21.6/7, the crash is reproducible with the single mod present.

References

  • Modrinth – LambDynamicLights 4.7.1 (1.21.8) lists game versions 1.21.6–1.21.8 (Fabric/NeoForge/Quilt). (Modrinth)
  • SpruceUI README shows recommended dependency spruceui_version=8.0.3+1.21.8 and notes JAR-in-JAR usage. (GitHub)
commented

Fixed in LambDynamicLights v4.7.2.