You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Template for making Babric mods for BTA!
5
5
**Note: *DO NOT fork this repository unless you want to contribute!***
6
6
7
7
## Prerequisites
8
-
- JDK for Java 17 ([Eclipse Temurin](https://adoptium.net/temurin/releases/) recommended)
8
+
- JDK for Java 21 ([Eclipse Temurin](https://adoptium.net/temurin/releases/) recommended)
9
9
-[Intellij IDEA](https://www.jetbrains.com/idea/download/) (Scroll down for the free community edition, if using linux **DO NOT** use the flatpak distribution)
10
10
- Minecraft Development plugin (Optional, but highly recommended)
11
11
@@ -32,6 +32,8 @@ Template for making Babric mods for BTA!
32
32
1. If you haven't already you should join the BTA modding discord! https://discord.gg/FTUNJhswBT
33
33
2. You can set your username when launching the client run configuration by setting `--username <username>` in your program arguments.
34
34
3. When launching the server run configuration you may want to remove the `nogui` program argument in order to see the regular server GUI.
35
-
4. In Intellij you can double press shift or press ctrl+N to search class files, change the search from the default `Project Files` to `All Places` you can easily explore the classes for you dependencies and even BTA itself.
36
-
5. In Intellij if ctrl+left click on a field or method you can quickly get information on when and where that field or method is assign or used.
35
+
4. In Intellij you can double press shift or press ctrl+N to search class files, change the search from the default `Project Files` to `All Places` you can easily explore the classes for your dependencies and even BTA itself.
36
+
5. In Intellij if ctrl+left-click on a field or method you can quickly get information on when and where that field or method is assign or used.
37
+
6. Ensure IntelliJ is updated to the latest version. This is important because this template uses the latest Gradle version and if your IntelliJ installation is outdated, it may not support the latest version.
38
+
7. In the `examplemod.mixins.json` you'll see `"compatibilityLevel": "JAVA_${java}",` along with an error message from the `Minecraft Development` plugin stating `Cannot resolve compatibility level 'JAVA_${java}'`. You can safely ignore this. The Gradle build system has been set up to grab the Java version from your `gradle.properties` and replace `${java}` with it. So the compiled binary will properly have it as `JAVA_8`.
0 commit comments