EMI is a featureful and accessible item and recipe viewer for Minecraft.
To add EMI to your project as a dependency you need to add the following to your build.gradle
:
repositories {
maven {
name = "TerraformersMC"
url = "https://maven.terraformersmc.com/"
}
}
How EMI gets added to your dependencies varies based on modloader and setup.
The Gradle property emi_version
should be something like 1.0.0+1.19.4
with EMI's version and Minecraft's version.
Here are common dependency setups for different loaders and build systems.
dependencies {
// Fabric
modCompileOnly "dev.emi:emi-fabric:${emi_version}:api"
modLocalRuntime "dev.emi:emi-fabric:${emi_version}"
// Forge
compileOnly fg.deobf("dev.emi:emi-forge:${emi_version}:api")
runtimeOnly fg.deobf("dev.emi:emi-forge:${emi_version}")
// Architectury
modCompileOnly "dev.emi:emi-xplat-intermediary:${emi_version}:api"
// MultiLoader Template/VanillaGradle
compileOnly "dev.emi:emi-xplat-mojmap:${emi_version}:api"
}