Alpha 1.2.2a example mod
- Download and install MultiMC if you haven't already.
- If you haven't already, press "create instance", and press "import from zip", and paste the following URL into the text field: https://cdn.discordapp.com/attachments/666758878813487136/699323306637262928/fabric-alpha.zip
- Download alpha-example-mod from the releases page.
- Click on your new MultiMC instance and click "edit instance" on the right. Click "loader mods" then "add", and navigate to the mod you just downloaded, and press OK.
- Clone the repository
git clone https://github.com/pack-png-mods/alpha-example-mod cd alpha-example-mod
- Generate the Minecraft source code
./gradlew genSources
- Note: on Windows, use
gradlew
rather than./gradlew
.
- Note: on Windows, use
- Generate the IDE project depending on which IDE you prefer
./gradlew idea # For IntelliJ IDEA ./gradlew eclipse # For Eclipse
- Import the project in your IDE and edit the code
- After testing in the IDE, build a JAR to test whether it works outside the IDE too
The mod JAR may be found in the
./gradlew build
build/libs
directory - Create a pull request
so that your changes can be integrated into alpha-example-mod
- Note: for large contributions, create an issue before doing all that work, to ask whether your pull request is likely to be accepted