Noaaan / MythicMetals

Fabric based Minecraft mod that adds new materials into the game. Includes new tools, ores, anvils, and sets of armor.
Other
72 stars 24 forks source link

When i join my server my cleint throws an error that i dont have the same mods as the server. #180

Closed Ethmangameon closed 1 year ago

Ethmangameon commented 1 year ago

i found this in my console

Mismatched states for entries of 'minecraft:block'

Noaaan commented 1 year ago

Did you resolve this issue? This was recently reported in Discord, and I am yet to find out why this happens

BurnyLlama commented 1 year ago

If you use DEUF (https://www.curseforge.com/minecraft/mc-mods/deuf-refabricated) it might be the source of the problem. I believe it can deduplicate items differenty on the server and client, causing the mismatches.

Noaaan commented 1 year ago

I believe this issue happens on Quilt mainly, as it is some kind of load-order issue. An issue is open on Quilted FAPI regarding it

BurnyLlama commented 1 year ago

I see, but removing DEUF fixes it.

encode42 commented 11 months ago

Should this issue stay open until the problem with Quilt is resolved?

It's been a few months and no progress on the issue has been made, which is quite unfortunate. Would a temporary workaround in MM be possible? I have no idea what the issue actually is, or how complex these systems are, but if Quilt doesn't seem interested in fixing it, what else do we have?

Noaaan commented 11 months ago

This issue is not really reproducible. If it didn't happen randomly I would be happy to implement something for it. The only real solution/workaround would be to disable/remove the Admantite Alloy Forge entirely when playing using Quilt. You could do this with a moddata (data-driven) override, or I could add a config option, but even then it doesn't actually fix the problem, only the symptom.

encode42 commented 11 months ago

The only real solution/workaround would be to disable/remove the Admantite Alloy Forge entirely

Though this is unfortunate, I would prefer this over not being able to use the mod entirely. I have been able to reproduce this issue in two different mod packs, so I'll try to get some more information for you!

encode42 commented 10 months ago

This might have something to do with whether there's an even or odd amount of mods installed.

I still have to do some more testing, but I've found that load order issues arise with mods that use the adventure library only when there's an odd amount of mods installed in my mod pack. I can add or remove any mod, all that matters is whether that number is divisible by two.

I'll check if this fixes the registry desync, but if not, it appears I've found a different issue with Quilt.