Skip to content

mouseClicked event handler java.lang.IncompatibleClassChangeError: class dev.isxander.yacl3.gui.OptionListWidget overrides final method net.minecraft.client.gui.components.AbstractSelectionList.m_6702_()Ljava/util/List; #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
longsosos opened this issue Sep 13, 2024 · 19 comments

Comments

@longsosos
Copy link

I got crash while using shift-left click to craft an item in EMI but yet another config lib got mentioned, if not because of yacl i will contact to EMI owner
crash-2024-09-13_01.41.18-client.txt

@Barerock
Copy link

Barerock commented Sep 22, 2024

I just got this error when trying to enter a config menu for Auto Hud.
crash-2024-09-22_12.54.18-client.txt

This happens every time.

@Barerock
Copy link

This error is crashing my game even without the mod enabled.

@Imajo24I
Copy link

This error is from YACL. No need to contact EMI.

Duplicate of #182.

@Barerock
Copy link

But how do I fix it crashing my config menus without the mod being present?

@Imajo24I
Copy link

Some other mod is probably including YACL in its jar, meaning its still present.

@Barerock
Copy link

I don't have any mods that advertise doing that, can you provide an idea of which might?

@Imajo24I
Copy link

Sounds for example. It includes yacl in its jar, meaning yacl is still present

@Barerock
Copy link

Barerock commented Sep 22, 2024

That's exactly what might be doing it. Maybe everyone here has Sounds? I only encountered this after adding it during dev recently. Is there a way to remove yacl from Sounds? There's no reason it should have a separate mod in its jar. That's incredibly annoying if not.

@Imajo24I
Copy link

No, theres no simple way I know. Even if you could easily remove it, it would make Sounds crash, as it uses some stuff from yacl.
Having other library mods included has some advantages, like it being easier for the user

The crash happens on all config screens made using yacl on forge 1.20.1, its not bound to Sounds.

@Barerock
Copy link

That's super weird, and very unfortunate. I'll make a report over at Sounds. Maybe they can temporarily remove yacl since it breaks usage of their mod too. I was using yacl for... months, and even yesterday it was fine when I looked at config. My mod list didn't change either, except to remove one unrelated library.

@Imajo24I
Copy link

Imajo24I commented Sep 22, 2024

They can't easily remove yacl, as its fundamentally used for their config system. They would have to redo the whole config system, just for a bug thats hopefully fixed soon.

@Barerock
Copy link

A temporary fix is to use a different config mod to make my configs and then revert to YACL, since if I don't need to click anything in there it won't crash :D win for everyone. I get sounds, I get config.

@Barerock
Copy link

Never mind, it seems like YACL is the only config loader that will work at all in 1.20.1. I have no idea why. Others crash or simply don't load themselves. Configured, Forge Config Screens, FzzyConfig all fail to work at all.

@Imajo24I
Copy link

You cant just replace a config mod with another one. Most mods use one specific config mod. Other config mods will be different and cant just be replaced with one another.

@Barerock
Copy link

Barerock commented Sep 22, 2024

My configs stopped crashing with YACL 3.4.2 1.20.1 and extensions 1.10. Adding Sounds back works fine, it just displays the "can't load" message. So that's cool.

I'm not sure what you mean. If literally no mod uses a config mod, why do they exist? Don't they "just" load the config files in instance/name/config? Mod files can indicate what configs they use, like Sounds, and require that mod to work, but generally mods leave their config files to be interpreted without enforcement, yes?

@Imajo24I
Copy link

Not sure why you think no mod would use config mods.

Config Mods don't just load all the config files.
A mod has to use specific methods to get the config mod to load and convert the config file.

The way to interact with the config mod, to let it know how to convert between file and converted file, and lots of other things are specific to the config mod, which is why they cant just be replaced with another.

@Barerock
Copy link

Okay, so out of 325 mods, none of them use any other config mod but YACL. Got it, but why do they exist then?

@Imajo24I
Copy link

Its not just yacl being used. For example, you also have Cloth Config and Owo lib.

And who do you mean with "they"? Do you mean why config mods exist in the first place?

@Barerock
Copy link

Never mind, I just don't get this. Using other config mods does nothing for over 320 mods, YACL at least registers most of those with configs. Seems odd to me that this is not true of other config mods doing more or less the same job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants