Template for 1.7.7.0_02

1.7.7.0_02
UselessBullets 9 months ago
parent af003ba99e
commit a7051568c9

@ -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 <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.

@ -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 {

@ -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

@ -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.");

@ -13,22 +13,12 @@
"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"
]
},
"mixins": [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Loading…
Cancel
Save