Babric example mod for BTA
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
UselessBullets 072f8ee7b2 Fixes 9 months ago
.github/workflows Autobuild, fetch client jar from Mojang 2 years ago
gradle/wrapper Initial commit 2 years ago
src/main Fixes 9 months ago
.editorconfig Add .editorconfig 1 year ago
.gitignore Update to BTA 1.7.7.0! 1 year ago
LICENSE Initial commit 2 years ago
README.md Fixes 9 months ago
build.gradle Fixes 9 months ago
gradle.properties Fixes 9 months ago
gradlew Initial commit 2 years ago
gradlew.bat Initial commit 2 years ago
settings.gradle Initial commit 2 years ago

README.md

Example Mod

Template for making Babric mods for BTA!

Note: DO NOT fork this repository unless you want to contribute!

Prerequisites

  • JDK for Java 17 (Eclipse Temurin recommended)
  • IntelliJ IDEA
  • Minecraft Development plugin (Optional, but highly recommended)

Setup instructions

  1. Click the Use this template button on this repo's page above. Choose Create a new respository, you will be redirected to a new page. Enter your repo's name and description, and hit Create repository.
    To get your project, open IntelliJ IDEA and click Get from VCS. Select Repository URL and enter your repo's url

  2. After the project has finished importing, close it and open it again.
    If that does not work, open the right sidebar with Gradle on it, open Tasks > fabric and run ideaSyncTask.

  3. Create a new run configuration by going in Run > Edit Configurations.
    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

    Click the double arrow icon to expand the list, and append -Dfabric.gameVersion=1.7.7.0 to the end.

    image

  5. 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!