Skip to content

Failed to apply mixins when Xaero's World Map 1.40.x is installed #4445

@Myitian

Description

@Myitian

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

7.4.1 (1.20.1 Forge) / 7.0.2 (1.21.1 NeoForge)

Minecraft Version

1.20.1 Forge and 1.21.1 NeoForge

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

Xaero's World Map (1.40.x)

Expected Behavior

The Xaero's World Map integration is working.

Actual Behavior

For Xaero's World Map 1.40.2 and 1.40.4, the Xaero's World Map integration is not working.
For Xaero's World Map 1.40.6, the game crashed.

Steps to Reproduce

  1. Install latest GTCEu and Xaero's World Map 1.40.2/1.40.4
  2. Launch the game
  3. Join a world
  4. Open the world map, finding the buttons to show veins are not appeared

or

  1. Install latest GTCEu and Xaero's World Map 1.40.6
  2. Launch the game
  3. The game crashed

Additional Information

Xaero's World Map removed some classes, such as xaero.map.gui.CursorBox, since 1.40.0.

Log output when Xaero's World Map 1.40.2/1.40.4 is installed:

[main/WARN] [mixin/]: Error loading class: xaero/map/gui/ScreenBase (java.lang.ClassNotFoundException: xaero.map.gui.ScreenBase)
[main/ERROR] [mixin/]: gtceu.mixins.json:xaeroworldmap.GuiMapMixin from mod gtceu: Super class 'xaero.map.gui.ScreenBase' of xaeroworldmap.GuiMapMixin was not found in the hierarchy of target class 'xaero/map/gui/GuiMap'

Log output when Xaero's World Map 1.40.6 is installed:

[Worker-Main-15/INFO] [xaero.map.WorldMap/]: Loading Xaero's World Map - Stage 1/2
[Worker-Main-15/WARN] [mixin/]: Error loading class: xaero/map/gui/CursorBox (java.lang.ClassNotFoundException: xaero.map.gui.CursorBox)
[Worker-Main-15/ERROR] [net.neoforged.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: An unexpected critical error was encountered

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions