Mandatory Optifine
This mod solves the problem of distributing modpacks that require Optifine installation. Since Optifine itself cannot be included in builds due to copyright restrictions, this modification displays a "Install Optifine" notification on the game's main screen, informing players about the need for additional setup.
Simply add Mandatory Optifine to your modpack instead of the original Optifine, and users will know exactly what they need to do for the pack to work correctly.