ZekerZhayard / OptiForge

Make OptiFine be compatible with Forge.
MIT License
65 stars 5 forks source link

Mods for Minecraft 1.17.x require additional changes for compatibility #99

Open smmmadden opened 2 years ago

smmmadden commented 2 years ago

FYI: Mostly a reminder than issue since these files are often forgotten to be updated. There are files to change for 1.17.1 to work. mods.toml, mixins and pack.mcmeta need updating for every major release of Minecraft depending on what is included. Minecraft 1.17.x - Minimum Java Level Supported: 16.0.1 pack.mcmeta files Pack Format=7 for 1.17.x release, 6 for 1.16 and 5 for 1.15, etc. Minecraft Vanilla Launcher (new one from Microsoft Store) has loading issues that require additional changes to our mods and modpacks. Read conversation towards the bottom on Forge Support: https://forums.minecraftforge.net/topic/105079-forge-1171-not-launching/?_fromLogin=1 This describes how to workaround the breaking change Microsoft made with the new Vanilla Minecraft launcher. I'm posting here as I've looked at this 1.17.x version of the mod and found one or both issues exist. It wasn't an easy process figuring out why mods were not working properly so I've provided the data so you don't have to waste time trying to figure out why.

ZekerZhayard commented 2 years ago

This is a modlauncher plugin rather than a common forge mod, so is OptiFine. It was not required mods.toml and pack.mcmeta, and it does not dependent Mixin. There is no documentation on how this form of plugin is made, You need to read the source code of modlauncher to understand its operating mechanism.

I almost stopped updating OptiForge, on the one hand because OptiFine itself is compatible with Forge in a way that I am satisfied with, on the other hand because I am busy in real life now, you have to know that making additional mods for a closed source mod is very time-consuming , I have almost no experience to satisfy my obsessive-compulsive disorder now.