Finally I got to porting my mod to the newest version. That opengl got hands. Sorry that it took so long but Mojang likes to make some breaking changes almost every new release lately.
Optional dependencies
Mod Menu
Any compatible version
Developer information
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" }