Skip to content

Crash to Desktop from java.lang.NoSuchMethodError #80

@uberpudge

Description

@uberpudge

I was in the overworld at my base.
I pressed F7 to turn on the spawnable surface overlay and the game crashed to Desktop.
Error received in log:

java.lang.NoSuchMethodError: com.mojang.blaze3d.platform.GlStateManager.pushMatrix()V
	at at.feldim2425.moreoverlays.lightoverlay.LightOverlayRenderer.renderOverlays(LightOverlayRenderer.java:29)
	at at.feldim2425.moreoverlays.lightoverlay.LightOverlayHandler.renderWorldLastEvent(LightOverlayHandler.java:54)
...

Minecraft version: 1.15.2
Forge version (from logs):

--fml.forgeVersion 31.2.0
--fml.mcVersion 1.15.2
--fml.mcpVersion 20200515.085601

Mods installed:

Mods:
  [✔️] Advanced-XRay-Mod-1.15.2
  [✔️] jei-1.15.2-6.0.0.4
  [✔️] journeymap-1.15.2-5.7.0beta1
  [✔️] moreoverlays-1.16.1

Link to full logs with crash report.
Crash report starts on L201.

Link to source file and line that caused the crash.

...and I just realized that link is on the master branch for 1.14.
master has a different import for GLStateManager:

import net.minecraft.client.renderer.GlStateManager;

whereas 1.14 imports it from:

import com.mojang.blaze3d.platform.GlStateManager;

The mod version from the logs is 1.16.1.
I suppose now I'm wondering why the mod I installed uses the 1.14 code base if the version is 1.16.1?

I downloaded this from Curseforge using this link for the specific file.

Do they have the version wrong?
Is there a better link to use for the correct version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions