To get started you should use a template from GitHub. This template will provide you with the basic structure and necessary files to build your mod, saving you a lot of time and effort. Here’s how you can use a GitHub template to kickstart your BTA modding journey.
Start by navigating to the GitHub repository that contains the template.
Use the Turnip-Labs - bta-example-mod
On the GitHub repository page, locate and click the “Use this template” button. This will allow you to create a new repository based on the provided template.
Important: Make sure to select “Include all branches” when creating your new repository.
Your mod’s directory structure should look like this:
src/main/ ├── java/turniplabs/examplemod/ │ └── ExampleMod.java └── resources/ └── lang/examplemod/ ├── en_US.lang ├── examplemod.mixins.json ├── fabric.mod.json └── icon.png
resources/
folder is where you should place the textures for your mod.Place your files in these directories to ensure your mod works properly.
Initially, you must change examplemod
and turniplabs
to your_mod_name_here
and your_account_name_here
.
The gradle.properties
file is a configuration file used by Gradle to define properties and project settings. This file can contain various configurations, such as:
This is just an example and may be outdated. ```yaml org.gradle.jvmargs=-Xmx2G
bta_version=7.2_01
loader_version=0.15.6-babric.6-bta mod_menu_version=2.0.6 halplibe_version=4.1.3
mod_version=1.0.0 mod_group=turniplabs # your account name here mod_name=examplemod # your mod name here ```