Skip to content

Getting Started

Witherking25 edited this page Feb 1, 2022 · 4 revisions

Adding to Gradle

Mine Flux is built on Architectury, so it was designed to be used in architectury mods.

For Architectury Mods

add this to your root build.gradle

allprojects {
    repositories {
        maven { url "https://maven.withertech.com/repository/withertech/" }
    }
}

add this to your forge build.gradle

dependencies {
    modImplementation "com.withertech:mine_flux-forge:1.2.2"
}

add this to your fabric build.gradle

dependencies {
    modImplementation "com.withertech:mine_flux-fabric:1.2.2"
}

add this to your common build.gradle

dependencies {
    modImplementation "com.withertech:mine_flux:1.2.2"
}

For Fabric Only Mods

add this to your build.gradle

repositories {
    maven { url "https://maven.architectury.dev/" }
    maven { url "https://maven.withertech.com/repository/withertech/" }
}
dependencies {
    modImplementation "com.withertech:mine_flux-fabric:1.2.2"
}

For Forge Only Mods

there really is no point in using this if you only support forge because Mine Flux for forge just wraps forge energy and on forge you can just use forge energy and it will work

Clone this wiki locally