diff --git a/README.md b/README.md index 3e25533..1fb2663 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](https://www.jetbrains.com/idea/download/) (Scroll down for the free community edition, if using linux **DO NOT** use the flatpak distribution) +- IntelliJ IDEA - Minecraft Development plugin (Optional, but highly recommended) ## Setup instructions @@ -26,12 +26,3 @@ 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/build.gradle b/build.gradle index d8e3050..e25656b 100644 --- a/build.gradle +++ b/build.gradle @@ -85,8 +85,6 @@ dependencies { // If you do not need Halplibe you can comment this line out or delete this line modImplementation "com.github.Turnip-Labs:bta-halplibe:${project.halplibe_version}" - include(implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-fabric:0.2.0-beta.9"))) - modImplementation "ModMenu:ModMenu:2.0.3" implementation "org.slf4j:slf4j-api:1.8.0-beta4" @@ -98,8 +96,6 @@ dependencies { implementation("org.apache.logging.log4j:log4j-core:${log4jVersion}") implementation("org.apache.logging.log4j:log4j-api:${log4jVersion}") implementation("org.apache.logging.log4j:log4j-1.2-api:${log4jVersion}") - - include(implementation("org.apache.commons:commons-lang3:3.12.0")) } java { diff --git a/gradle.properties b/gradle.properties index d876511..b65e29d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,13 +1,13 @@ org.gradle.jvmargs=-Xmx2G # BTA -bta_version=7.1-pre1a +bta_version=7.1-pre1 # Loader loader_version=0.14.19-babric.3-bta # HalpLibe -halplibe_version=3.3.3 +halplibe_version=3.0.2 # Mod mod_version=1.0.0 diff --git a/src/main/java/turniplabs/examplemod/ExampleMod.java b/src/main/java/turniplabs/examplemod/ExampleMod.java index 5f188da..3397625 100644 --- a/src/main/java/turniplabs/examplemod/ExampleMod.java +++ b/src/main/java/turniplabs/examplemod/ExampleMod.java @@ -3,7 +3,6 @@ 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; @@ -11,6 +10,7 @@ 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 80fcb59..c93d2bc 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -13,24 +13,14 @@ "sources": "" }, - "icon": "icon.png", "license": "CC0-1.0", "environment": "*", "entrypoints": { "main": [ - "turniplabs.examplemod.ExampleMod" - ], - "beforeGameStart": [ - "turniplabs.examplemod.ExampleMod" - ], - "afterGameStart": [ - "turniplabs.examplemod.ExampleMod" - ], - "recipesReady": [ - "turniplabs.examplemod.ExampleMod" - ] - }, + "turniplabs.examplemod.ExampleMod" + ] + }, "mixins": [ "examplemod.mixins.json" ], diff --git a/src/main/resources/icon.png b/src/main/resources/icon.png deleted file mode 100644 index c64f12d..0000000 Binary files a/src/main/resources/icon.png and /dev/null differ