Skip to content

Developing

Autovw edited this page Mar 3, 2022 · 9 revisions

Adding More Concrete as a dependency to your development environment

First, we will need to add some code to the build.gradle

repositories {
    maven {
        url = "https://www.cursemaven.com"
    }
}

// Replace {file_id} with the version you want to use!
// 1.2.2-1.18.2: 3670790
// 1.2.1-1.18.1: 3595069
// 1.1.1-1.17.1: 3595056
// 1.1.1-1.16.5: 3595055
// 1.0.1-1.15.2: 3523747

dependencies {
    /* Minecraft dependency here! */

    implementation fg.deobf('curse.maven:moreconcrete-545354:{file_id}')
}

More information about adding a Cursemaven project to the build.gradle can be found here!

A full list of More Concrete versions can be found here!


When creating an add-on for More Concrete you will also need to add some code to your mods.toml

[[dependencies.<your_mod_id>]]
    modId="moreconcrete"
    mandatory=true #or false if this mod is not required on the user end.
    versionRange="[1.1.0,)"
    ordering="NONE"
    side="BOTH"

More information about the mods.toml can be found here!


The source code of the mod can be viewed here!

Getting started

Development / Technical information

Clone this wiki locally