Developing - Autovw/BurgerMod GitHub Wiki
This is a short guide for mod developers. For example: If you want to test compatibility, create an add-on etc.
First, we will need to add some code to the build.gradle
repositories {
maven {
url = "https://www.cursemaven.com"
}
}
// <file_id>
// 2.6.0-1.18: 3542179
// 2.6.0-1.17.1: 3524403
// 2.6.0-1.16.5: 3524402
// It is recommended not to use legacy versions for development! (Minecraft 1.15.x and older)
dependencies {
/* Minecraft dependency here! */
implementation fg.deobf('curse.maven:burgermod-483758:<file_id>')
}
More information about adding a Cursemaven project to the build.gradle
can be found here!
A full list of Burger Mod versions can be found here!
When creating an add-on for the Burger Mod you will also need to add some code to your mods.toml
[[dependencies.<your_mod_id>]]
modId="burgermod"
mandatory=true #or false
#minimum and maximum version of the Burger Mod needed.
versionRange="[2.3.0,)"
#if you want the Burger Mod to be loaded before/after your mod change "NONE" to "BEFORE" or "AFTER"
ordering="NONE"
side="BOTH"
More information about the mods.toml
can be found here!