embeddedt / embeddium

An open-source client performance mod for Minecraft (based on Sodium 0.5.8) prioritizing reliability & mod compatibility
https://legacy.curseforge.com/minecraft/mc-mods/embeddium
GNU Lesser General Public License v3.0
193 stars 74 forks source link

Add warning if Embeddium mod file is opened directly #178

Closed embeddedt closed 4 months ago

embeddedt commented 8 months ago

This mostly involves copying https://github.com/CaffeineMC/sodium-fabric/pull/2250, but the build.gradle change will need to be done differently on 1.18+ as we use NeoGradle instead of Loom.

embeddedt commented 4 months ago

There has never been a single report of anyone trying to open the mod file directly, and the Gradle configuration would have to be done three times: once for ForgeGradle (1.20.1), once for NeoGradle (1.20.6), and once for Loom (both versions). I simply don't have the interest to do that, so this issue will be closed. However, I'll happily accept a PR if someone does wish to add this.