Fabric
By FabricMC
Minecraft mod-development toolchain with templates, loader and Fabric API. Build Java mods into JARs for custom items and gameplay systems. Minecraft and dependency versions must match the target installation.
Create a project with the official template generator for your target Minecraft version. Add Java code/resources and use the Java version required by the project. Run ./gradlew.bat build on Windows or ./gradlew build on macOS/Linux. JARs appear in build/libs; the guide recommends the shortest-name JAR for production. Test with a compatible Fabric Loader, adding Fabric API when required by the mod.
Sources: https://fabricmc.net/develop/ · https://fabricmc.net/develop/template/ · https://docs.fabricmc.net/develop/getting-started/building-a-mod