Made during SpookyJam 2017, Mysterious Biomes (Formerly Spooky Biomes) is a bundle of some spooky feeling and miscellaneous nice to have biomes to enhance your gameplay!
- Clone or download this repository.
- Open the project in IntelliJ IDEA.
- If your default JVM/JDK is not Java 21 you will encounter an error when opening the project.
This error is fixed by going toFile > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM
and changing the value to a valid Java 21 JVM. You will need to set the Project SDK to Java 21 also.
This can be done by going toFile > Project Structure > Project SDK
.
Once both have been set open the Gradle tab in IDEA and click the refresh button to reload the project. - Once everything has refreshed and finished importing, open your Run/Debug Configurations,
under the Application category there should now be options to run NeoForge or Fabric clients and servers. Select one of these and try to run it. (Restarting IDEA should help if they don't show up right away) - Assuming you were able to run the game in step 4 your workspace should now be set up.
This workspace has a custom gradle task called cleanCode
, this task adds license headers, formats the code and compiles a code standards report that can be found per subproject, example: neoforge/reports/main.html
Should you wish to do any of these on their own you can run any of the following:
./gradlew licenseFormat
Adds the license header to any classes without them../gradlew spotlessApply
Formats the code according to our code format rules../gradlew pmdMain
Compiles a code standards report you can use to improve your code.