Best to use with Java 11+.
If you have encountered issues about duplicate fabric-loader versions, remove the 0.4.9 version from the libraries in your IDE.