Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }
Maven coordinates:
maven.modrinth:dwarfs-and-giants-size-magic-potions-tools-mobs:2.0.0+mod.neoforge.26.3