generated from Turnip-Labs/bta-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,10 @@ | ||
# Example Mod | ||
# Better with defense mod | ||
6 new shields added to BTA | ||
|
||
Template for making Babric mods for BTA! | ||
## Special thanks | ||
Thank you to the people at the BTA modding discord for help | ||
Any feedback towards the mod is greatly appreciated | ||
|
||
**Note: *DO NOT fork this repository unless you want to contribute!*** | ||
### Screenshot | ||
![The various shields](https://github.com/mizuri-n/Better-with-defense/assets/142837856/793eaa7b-6d86-42c1-a77d-d3a99ace53e9) | ||
|
||
## Prerequisites | ||
- JDK for Java 17 ([Eclipse Temurin](https://adoptium.net/temurin/releases/) 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 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! |