CleanroomMC / MixinBooter

Allows any mixins that work on mods to work effortlessly. With a single class and an annotation. On 1.12.2.
GNU Lesser General Public License v2.1
50 stars 17 forks source link

Crash "java.lang.NoClassDefFoundError: yalter/mousetweaks/api/MouseTweaksIgnore" #1

Closed Krutoy242 closed 3 years ago

Krutoy242 commented 3 years ago

1.12.2 mixinbooter-1.0

I was going to try Thaumic Speedup, and it lunches fine, throught, i didnt check if it actually speedup anything. Then i added mixinbooter. Game lunches, but when i open inventory E, game crashes:

java.lang.NoClassDefFoundError: yalter/mousetweaks/api/MouseTweaksIgnore
    at yalter.mousetweaks.handlers.GuiContainerHandler.isMouseTweaksDisabled(GuiContainerHandler.java:49)
    at yalter.mousetweaks.Main.onUpdateInGui(Main.java:174)
    at yalter.mousetweaks.Main.onUpdateInGame(Main.java:145)
[...]

debug.log

magcicada commented 3 years ago

I have the same issiueCR1CR2

Rongmario commented 3 years ago

1.12.2 mixinbooter-1.0

I was going to try Thaumic Speedup, and it lunches fine, throught, i didnt check if it actually speedup anything. Then i added mixinbooter. Game lunches, but when i open inventory E, game crashes:

java.lang.NoClassDefFoundError: yalter/mousetweaks/api/MouseTweaksIgnore
  at yalter.mousetweaks.handlers.GuiContainerHandler.isMouseTweaksDisabled(GuiContainerHandler.java:49)
  at yalter.mousetweaks.Main.onUpdateInGui(Main.java:174)
  at yalter.mousetweaks.Main.onUpdateInGame(Main.java:145)
[...]

debug.log

Sorry for the late reply! GitHub either never threw me the issue or I just glanced over it.

I have the same issiueCR1CR2

Thank you for the follow up.

This is due to WirelessCraftingTerminals including MouseTweaks API in their mod's jar, it seems outdated and might have some fingerprint issue. To fix, delete this the 'yalter' folder from the jar of WirelessCraftingTerminal.

Rongmario commented 3 years ago

If it doesn't work, please follow up and I have another way of fixing it if need.

magcicada commented 3 years ago

WirelessCraftingTerminal-1.12.2-3.12.97.jar,WirelessFluidTerminal-1.12.2-1.0.4.jar,WirelessInterfaceTerminal-1.12.2-1.0.2.jar,WirelessPatternTerminal-1.12.2-1.0.3.jar and DankNull-1.12.2-1.7.101.jar of all included 'yalter' folder,I delete all of them and it solved the issue,thanks.

Rongmario commented 3 years ago

Thank you. I'll note this on the mod page.

magcicada commented 3 years ago

and MouseTweak can't work on them.

Rongmario commented 3 years ago

Doesn't load or does MouseTweak functionality not work with their crafting grids?

magcicada commented 3 years ago

the MouseTweak doesn't work on all Wireless Terminal.

Rongmario commented 3 years ago

Can you try renaming DankNull to something else so its after MouseTweak alphabetically in the /mods folder? Do this without deleting any yalter folders.

magcicada commented 3 years ago

I didn't renaming anything.

Rongmario commented 3 years ago

I know, can you try?

magcicada commented 3 years ago

ok,I need restart the game,lol,just wait me.

magcicada commented 3 years ago

ok,I rename the DankNull and the game doesn't crash,but MouseTweak still can't work on Wireless Terminal and DankNull,I think it’s DankNull’s and Wireless Terminal's problem.

magcicada commented 3 years ago

https://github.com/p455w0rd/WirelessCraftingTerminal/issues/121

magcicada commented 3 years ago

Thanks a lot.

Rongmario commented 3 years ago

Ah I see, thank you for reporting and following up!

Krutoy242 commented 3 years ago

Can you try renaming DankNull to something else so its after MouseTweak alphabetically in the /mods folder? Do this without deleting any yalter folders.

I renamed DankNull mod too and it stops crashing on opening inventory. But, how i could distribute my modpack through CurseForge? It provides mod list and downloads mods from server with their actual names. MC lunchers cant rename files after DL them.

Rongmario commented 3 years ago

You can use Bansoukou to patch mod jars at runtime.

Krutoy242 commented 3 years ago

You can use Bansoukou to patch mod jars at runtime.

What a hack! Through, i cant see Bansoukou file renaming capabilities. Or you suggest to remove /yalter folder in dankNull.jar?