Template mod with Mixins and Essential.
1) Ctrl + Shift + Alt + S
2) Set SDK version to Java 17 or above
3) Apply
1) Ctrl + Alt + S
2) Build, Execution and Deployment -> Build Tools -> Gradle
3) Set Gradle JVM version to Java 17 or above
4) Apply
1) Ctrl + Shift + A
2) Type "Edit configurations"
3) Open it
4) Change Build and run to Java 8
5) Apply