You can download the latest version of the mod from CurseForge or Modrinth.
| Minecraft Version | Latest Mod Version | Minimum Modloader Version* | Supported | Download |
|---|---|---|---|---|
| 1.18.1 | 0.1.5 | Forge 39.0.66 | ❌ | CurseForge |
| 1.18.2 | 1.3.0 | Forge 40.1.35 | ❌ | CurseForge / Modrinth |
| 1.19.2 | 1.3.1 | Forge 43.1.13 | ❌ | CurseForge / Modrinth |
| 1.20.1 | 1.5.0 | Forge 47.0.34 | ✅ | CurseForge / Modrinth |
| 1.20.4 | 1.5.0 | NeoForge 20.4.232 | ✅ | CurseForge / Modrinth |
- Forge (required on Minecraft 1.18.1-1.20.1) / NeoForge (required on Minecraft 1.20.4+)
- GeckoLib (CurseForge / Modrinth) (required)
- Patchouli (CurseForge / Modrinth) (required)
- Curios (CurseForge / Modrinth) (optional)
- Jade (CurseForge / Modrinth) (optional)
- JEI (CurseForge / Modrinth) (optional)
- The One Probe (CurseForge / Modrinth) (optional)
You can develop addons for this mod using the Ars Magica API.
To use the API you need to first add the maven repository to your build.gradle:
repositories {
maven {
name = "MinecraftschurliMods"
url = "https://minecraftschurli.ddns.net/repository/maven-public/"
}
}Then you can add the API as a dependency (don't forget to also include the required dependencies at runtime):
dependencies {
compileOnly fg.deobf('com.github.minecraftschurli:arsmagicalegacy:<arsmagicalegacy-version>:api')
runtimeOnly fg.deobf('com.github.minecraftschurli:arsmagicalegacy:<arsmagicalegacy-version>')
runtimeOnly fg.deobf('vazkii.patchouli:Patchouli:<patchouli-version>')
runtimeOnly fg.deobf('software.bernie.geckolib:geckolib-forge-<mc-version>:<geckolib-version>')
}- Clone the repository.
- Run
./gradlew genIntellijRuns/./gradlew genEclipseRuns/./gradlew genVSCodeRunsdepending on your IDE to set up the workspace. - Open the project in your IDE.
To launch the client either:
- Run the
runClientrun configuration generated in setup. - Run
./gradlew runClientin the project directory.
To launch the dedicated server either:
- Run the
runServerrun configuration generated in setup. - Run
./gradlew runServerin the project directory.
To run the data generators either:
- Run the
runDatarun configuration generated in setup. - Run
./gradlew runDatain the project directory.
- Create a new class in
src/test/javain the packagecom.github.minecraftschurli.arsmagicalegacy.test. - Add the
@PrefixGameTestTemplate(false)and@GameTestHolder(ArsMagicaAPI.MOD_ID)annotations to the class. - Add the
@GameTestannotation to the test method and specify the template name (e.g.@GameTest(template = "example")). Use theemptytemplate for tests that don't require a specific template. - Write the test case. Use the
GameTestHelperparameter of your test method to fail or succeed. Your testcase is required to call succeed at least once or it will fail with a timeout.
To run the tests either:
- Run the
runGameTestServerrun configuration generated in setup. - Run
./gradlew runGameTestServerin the project directory. - Launch the client and use the
/testcommand.
Run ./gradlew build to build the mod. The resulting jars will be located in build/libs.
Ars Magica is a trademark of Atlas Games®, used with permission.
Some textures used in this mod are property of D3miurge, used with permission.
