Contributing to BetterF3
November 4, 2024 ยท View on GitHub
If you would like to improve BetterF3, there are several ways you can help.
- You can make a financial donation by checking the "Sponsor this project" sidebar on the root GitHub page.
- You can contribute to the language files by either adding a PR or checking out our Crowdin Page.
- If you are a developer, check below!
Developers
Requirements
To help contribute to our project, you must follow these requirements:
- You need
gitinstalled. You can download it from here on Windows. - You need Java 21 or later JDK. Check out Adoptium for most platforms.
- You must use either IntelliJ IDEA or Visual Studio Code. Other IDEs are unsupported and may or may not work.
Compiling
You can compile the source code here:
- Clone this project to your local machine
- This project is split into three parts.
commonholds all the common files between Forge and Fabricfabricholds all the files for only Fabricforgeholds all the files for only Forge
- Type
./gradlew buildin a terminal to build the project. On Windows, leave out./at the beginning for allgradlewcommands if nothing works. cdinto either thefabricorforgedirectory, thencdtobuild/libsand the compiled mod will be in the formatbetterf3-{version}-{modloader}.jar(subject to change).
Pull Requests
All pull requests must comply with our CheckStyle requirements.
- Run
./gradlew checkstyleMainto check if you comply. - (Recommended) import the
.checkstyle/checkstyle.xmlfile into your IDE.
Creating Modules
To create a new module, either in this mod or your own, follow the directions in CreateModule.md.