matjojo / fastestf

Minecraft mod that tries to guarantee the fastest f
Other
2 stars 1 forks source link

Update mod to 1.18.2 #2

Open MattElek opened 2 years ago

MattElek commented 2 years ago

Updated mod and dependencies for 1.18.2

While the mod works on newer versions, it throws an error on startup, and doesn't work with modmenu. I wanted to fix the error messages thrown on startup, and fix the modmenu config issue.

Notable changes: Follow fabric and rename the mixin from ChatListenerHud to ChatHudListener, allowing successful building. Update autoconfig1u to cloth-config Update modmenu implementation.

Additionally, I updated various build settings and updated basically all of the dependencies.

Notably, I replaced autoconfig1u with cloth-config, which now bundles autoconfig. This fixes an error thrown on startup with newer MC versions. While it's possible to continue using autoconfig1u, that behavior isn't recommended and likely will cause breakage in the future. Hopefully, this will help future-proof the mod so it continues working, and additionally fixes the error message thrown on startup in 1.18.2. Note, this does have the effect of adding Cloth Config as a dependency, as it's not recommended to compile the mod with it included.