No description
This repository has been archived on 2025-02-04. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Abdulmujeeb Raji 07071324d2 v1.0a - That's a wrap, folks (fr this time)
Somehow didn't catch a bug where you can't check the menu more than once 🤦. Thanks @Nateboy.

Features:
- Remove GAME_COLLECTION_EMPTY Check.
- Move the GUI elements closer together.
- Remove double clicking sound on button press
2024-04-15 16:24:29 +01:00
.github/workflows Initial commit 2024-04-13 15:35:56 +01:00
gradle/wrapper Initial commit 2024-04-13 15:35:56 +01:00
src/main v1.0a - That's a wrap, folks (fr this time) 2024-04-15 16:24:29 +01:00
.editorconfig Initial commit 2024-04-13 15:35:56 +01:00
.gitignore Initial commit 2024-04-13 15:35:56 +01:00
build.gradle Initial commit 2024-04-13 15:35:56 +01:00
gradle.properties v1.0a - That's a wrap, folks (fr this time) 2024-04-15 16:24:29 +01:00
gradlew Initial commit 2024-04-13 15:35:56 +01:00
gradlew.bat Initial commit 2024-04-13 15:35:56 +01:00
LICENSE Initial commit 2024-04-13 15:35:56 +01:00
README.md Initial commit 2024-04-13 15:35:56 +01:00
settings.gradle Initial commit 2024-04-13 15:35:56 +01:00

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 (Scroll down for the free community edition, if using linux DO NOT use the flatpak distribution)
  • Minecraft Development plugin (Optional, but highly recommended)

Setup instructions

  1. Click the Use this template button on this repo's page above (Will only appear if logged in). Choose Create a new repository, 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. 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.

  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.