-
Notifications
You must be signed in to change notification settings - Fork 3
Developing
Autovw edited this page Nov 13, 2021
·
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.17.1: 3524403
// 2.6.0-1.16.5: 3524402 (Uses Official Mojang Mappings)
// 1.6.0-1.16.4: 3336591 (Uses MCP Mappings)
// 1.7.0-1.15.2: 3401819
// 1.7.0-1.14.4: 3401818
// 1.7.0-1.12.2: 3401816
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