Update to 7.1-pre1.

pull/6/head
MartinSVK12 11 months ago
parent 86f813a49f
commit 537eb5e6c7

@ -22,15 +22,7 @@ Template for making Babric mods for BTA!
Then click on the plus icon and select Gradle. In the `Tasks and Arguments` field enter `build`.
Running it will build your finished jar files and put them in `build/libs/`.
4. While in the same place, select the Client and Server run configurations and edit the VM options under the SDK selection.
![image](https://github.com/Turnip-Labs/bta-example-mod/assets/58854399/2d45551d-83e3-4a75-b0e6-acdbb95b8114)
Click the double arrow icon to expand the list, and append `-Dfabric.gameVersion=1.7.7.0` to the end.
![image](https://github.com/Turnip-Labs/bta-example-mod/assets/58854399/e4eb8a22-d88a-41ef-8fb2-e37c66e18585)
5. Lastly, open `File` > `Settings` and head to `Build, Execution, Development` > `Build Tools` > `Gradle`.
4. Lastly, open `File` > `Settings` and head to `Build, Execution, Development` > `Build Tools` > `Gradle`.
Make sure `Build and run using` and `Run tests using` is set to `Gradle`.
6. 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!
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!

@ -85,7 +85,7 @@ 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}"
modImplementation "ModMenu:ModMenu:2.0.0"
modImplementation "ModMenu:ModMenu:2.0.3"
implementation "org.slf4j:slf4j-api:1.8.0-beta4"
implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0"

@ -1,13 +1,13 @@
org.gradle.jvmargs=-Xmx2G
# BTA
bta_version=1.7.7.0_02
bta_version=7.1-pre1
# Loader
loader_version=0.14.19-babric.1-bta
loader_version=0.14.19-babric.2-bta
# HalpLibe
halplibe_version=2.4.0
halplibe_version=3.0.0
# Mod
mod_version=1.0.0

@ -3,9 +3,11 @@ package turniplabs.examplemod;
import net.fabricmc.api.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import turniplabs.halplibe.util.GameStartEntrypoint;
import turniplabs.halplibe.util.RecipeEntrypoint;
public class ExampleMod implements ModInitializer {
public class ExampleMod implements ModInitializer, GameStartEntrypoint, RecipeEntrypoint {
public static final String MOD_ID = "examplemod";
public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
@ -13,4 +15,19 @@ public class ExampleMod implements ModInitializer {
public void onInitialize() {
LOGGER.info("ExampleMod initialized.");
}
@Override
public void beforeGameStart() {
}
@Override
public void afterGameStart() {
}
@Override
public void onRecipesReady() {
}
}

Loading…
Cancel
Save