-
Notifications
You must be signed in to change notification settings - Fork 3
Developing
Autovw edited this page Jan 23, 2022
·
17 revisions
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!
Note: mods.toml
files were introduced in 1.13, for 1.12 you'll need to use a mcmod.info
file instead.
The source code of the mod can be viewed here!
Join Autovw's Modding Community Discord Server to get notified about updates, mod support and more!
Getting started
Everything you need to know
Development