Skip to content

A featureful and accessible item and recipe viewer

License

Notifications You must be signed in to change notification settings

IJustWantANamePlease/emi

 
 

Repository files navigation

EMI

EMI is a featureful and accessible item and recipe viewer for Minecraft.

EMI Interface

Recipe Tree

Developers

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 (see below block as well if you use Forge Gradle)
	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"
}

For Forge Gradle users, you will need to enable Mixin refmaps in your client sourceset. This can be done by adding 2 lines inside of your client runs, to look like below.

runs {
	client {
		// Add these two lines
		property 'mixin.env.remapRefMap', 'true'
		property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"

		// The rest of the code that was already here
		// ...
	}
}

About

A featureful and accessible item and recipe viewer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%