Skip to content
LtxPgm edited this page Dec 2, 2024 · 2 revisions

Overview

Welcome to the Changed: MC mod wiki!

You can find documentation for various features of the Changed API here, as well as a tutorial for setting up your own transfur!

Using Changed in Gradle

First, grab the Forge MDK, and install Intellij. Changed:MC uses many mixins to alter code for compatibility and functionality. Add this line to your buildscript dependencies and repositories (build.gradle):

buildscript {
    repositories {
        maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
    }
    dependencies {
        classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT'
    }
}

And add it as a plugin (build.gradle):

apply plugin: 'org.spongepowered.mixin'

Add this line in your repositories (build.gradle):

repositories {
    maven {
        name = "Changed"
        url = "https://raw.githubusercontent.com/LtxProgrammer/Changed-Minecraft-Mod/master/mcmodsrepo/"
    }
}

Add this line in your dependencies (build.gradle):

dependencies {
    implementation fg.deobf("net.ltxprogrammer.changed:Changed-m${minecraftVersion}-f${forgeVersion}:${changedVersion}")
}

Make sure you specify which environment versions you are using in the line above. This can be done by directly substituting (e.g. Changed-m1.18.2-f40.2.0:v0.14b), or in your gradle.properties:

minecraftVersion = 1.18.2
forgeVersion = 40.2.0
changedVersion = v0.14b

Then add a mod dependency to mods.toml:

[[dependencies.your_mod_id]]
    modId="changed"
    mandatory=true
    versionRange="[0.14b]" # Replace with the version you plan to mod
    ordering="NONE"
    side="BOTH"

Note: any issues relating to gradle/mixin should be properly be researched (Googled) before creating an issue.

You'll now have access to all the tools within the Changed: Minecraft Mod, good luck!

Clone this wiki locally