diff --git a/README.md b/README.md index 1fb2663..3e25533 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Template for making Babric mods for BTA! ## Prerequisites - JDK for Java 17 ([Eclipse Temurin](https://adoptium.net/temurin/releases/) recommended) -- IntelliJ IDEA +- [Intellij IDEA](https://www.jetbrains.com/idea/download/) (Scroll down for the free community edition, if using linux **DO NOT** use the flatpak distribution) - Minecraft Development plugin (Optional, but highly recommended) ## Setup instructions @@ -26,3 +26,12 @@ Template for making Babric mods for BTA! Make sure `Build and run using` and `Run tests using` is set to `Gradle`. 5. Done! Now, all that's left is to change every mention of `examplemod` and `turniplabs` to your own mod id and mod group, respectively. Happy modding! + +## Tips + +1. If you haven't already you should join the BTA modding discord! https://discord.gg/FTUNJhswBT +2. You can set your username when launching the client run configuration by setting `--username ` in your program arguments. +3. When launching the server run configuration you may want to remove the `nogui` program argument in order to see the regular server GUI. +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. +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. + diff --git a/src/main/java/turniplabs/examplemod/ExampleMod.java b/src/main/java/turniplabs/examplemod/ExampleMod.java index 3397625..5f188da 100644 --- a/src/main/java/turniplabs/examplemod/ExampleMod.java +++ b/src/main/java/turniplabs/examplemod/ExampleMod.java @@ -3,6 +3,7 @@ package turniplabs.examplemod; import net.fabricmc.api.ModInitializer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import turniplabs.halplibe.helper.BlockBuilder; import turniplabs.halplibe.util.GameStartEntrypoint; import turniplabs.halplibe.util.RecipeEntrypoint; @@ -10,7 +11,6 @@ import turniplabs.halplibe.util.RecipeEntrypoint; public class ExampleMod implements ModInitializer, GameStartEntrypoint, RecipeEntrypoint { public static final String MOD_ID = "examplemod"; public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID); - @Override public void onInitialize() { LOGGER.info("ExampleMod initialized."); diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index c037e46..80fcb59 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -13,6 +13,7 @@ "sources": "" }, + "icon": "icon.png", "license": "CC0-1.0", "environment": "*", diff --git a/src/main/resources/icon.png b/src/main/resources/icon.png new file mode 100644 index 0000000..c64f12d Binary files /dev/null and b/src/main/resources/icon.png differ