Getting started
To start using the library in your mod, follow the steps below. You can find all available major versions of this mod on CurseForge or Modrinth.
Latest versions
Minecraft | DragNSounds API | DragonLib | JAVE |
---|---|---|---|
1.18.2 | 0.1.8 | 2.1.11 | 3.5.0 |
1.19.2 | 0.1.8 | 2.1.11 | 3.5.0 |
1.20.1 | 0.1.8 | 2.1.11 | 3.5.0 |
Architectury Loom setup
- Create a new Architectury project.
- Add the following content into the
build.gradle
file of your root project.subprojects { repositories { maven { url = "https://raw.githubusercontent.com/MisterJulsen/modsrepo/main/maven" } // DragonLib, DragNSounds API maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" } // Forge Config API maven { url = "https://mvnrepository.com/artifact/ws.schild/jave-all-deps"} // JAVE maven { url = "https://maven.terraformersmc.com/" } // ModMenu } }
- Add the following line to all
build.gradle
files of all your sub-projects (forge, fabric, common). Replace<LOADER>
with the specific loader (e.g.forge
) and usefabric
in your common project.dependencies { modCompileOnly("dev.architectury:architectury-<LOADER>:<ARCHITECTURY_VERSION>") modImplementation("de.mrjulsen.mcdragonlib:dragonlib-<LOADER>:<MINECRAFT_VERSION>-<DRAGONLIB_VERSION>") modImplementation("de.mrjulsen.dragnsounds:dragnsounds-<LOADER>:<MINECRAFT_VERSION>-<DRAGNSOUNDS_VERSION>") modImplementation("ws.schild:jave-core:<JAVE_VERSION>")) modImplementation("ws.schild:jave-nativebin-linux32:<JAVE_VERSION>")) modImplementation("ws.schild:jave-nativebin-linux64:<JAVE_VERSION>")) modImplementation("ws.schild:jave-nativebin-linux-arm32:<JAVE_VERSION>")) modImplementation("ws.schild:jave-nativebin-linux-arm64:<JAVE_VERSION>")) modImplementation("ws.schild:jave-nativebin-win32:<JAVE_VERSION>")) modImplementation("ws.schild:jave-nativebin-win64:<JAVE_VERSION>")) modImplementation("ws.schild:jave-nativebin-osxm1:<JAVE_VERSION>")) modImplementation("ws.schild:jave-nativebin-osx64:<JAVE_VERSION>")) }
Note
To use JAVE in Forge mods, forgeRuntimeLibrary
must be added: modImplementation(forgeRuntimeLibrary (...))
- Add the dependencies to your mod.
In the
forge
project, add this to yourmods.toml
file:... and in the[[dependencies.<YOUR_MODID>]] modId="dragnsounds" mandatory=true versionRange="[<MINECRAFT_VERSION>-<DRAGNSOUNDS_VERSION>,)" ordering="NONE" side="BOTH"
fabric
project, add this to yourfabric.mod.json
file: - Reload your project.