Onslaught
Onslaught is a Minecraft Mod that gives you an interface to create Invasions of violent mobs with custom abilities, loot, and spawning conditions.
Using the Mod
- Add the appropriate jar to your modpack in the
./mods
folder.
- Read the docs on how to configure your hordes.
Development Quick Start
- Checkout Github Repo to your local
- Initialize the gradle files:
- run
gradlew.bat init
for Windows
- run
./gradlew init
for Mac / Linux / Bash Shell
- Decompress the workspace:
- run
./gradlew setupDecompWorkspace
You should be good to build or run the client.
Code Guidance
Branch Management
- Check out a new branch
git checkout -b <scope>/<context>
fix/some-bug
feat/some-new-feature
chore/some-toil
doc/add-some-new-documentation
- Commit often, and small
- Use Pull Requests to deliberately introduce changes into master
Releasing a new version of the mod
Prerequisites
- Github write access to the repo
- CurseForge access to the Onslaught project
Release to Github
- Switch to the desired branch (presumably the latest master)
- Run
./version set <minecraft-version>-<mod-version>
- Enter your GitHub credentials
- Amend the GitHub Release with the main and sources jar
Release to CurseForge
- Go to Onslaught project's files
- Click the file upload button in the top right
- Follow the instructions