Repository navigation
Getting Started [Minecraft 1.19.2 and 1.20.1]
Note
Version note: This page covers Minecraft 1.19.2 and 1.20.1 for Forge and Fabric.
Other setup pages:
- Minecraft 1.12.2: Getting Started
- Minecraft 1.16.5: Getting Started
- Minecraft 1.21β1.21.1: Getting Started
- Minecraft 1.21.11: Getting Started
- Minecraft 26.1.2β26.3: Getting Started
Start with an existing Minecraft project targeting Java 17. Choose your mod loader below, then expand the option matching your project's build tool.
The badges show the latest JEI versions for each Minecraft version and mod loader. Click a badge to browse releases.
| Minecraft | Forge | Fabric |
|---|---|---|
| 1.19.2 | ||
| 1.20.1 |
Add the matching versions to gradle.properties beside your build.gradle:
mc_version=1.20.1
jei_version=<matching JEI version>repositories {
maven { url = "https://maven.blamejared.com/" }
}Choose the MezzConfig release for your Minecraft version:
| Minecraft | MezzConfig |
|---|---|
| 1.19.2 | |
| 1.20.1 |
Copy the version shown in the matching badge into gradle.properties:
mezz_config_version=<version shown above>Legacy ModDevGradle
Configure your Forge project with Legacy ModDevGradle, then add the development dependencies below.
Add this configuration to build.gradle if it is not already present:
configurations {
localRuntime {
canBeConsumed = false
canBeResolved = false
}
runtimeClasspath.extendsFrom localRuntime
}Add the following configuration and dependencies:
obfuscation.createRemappingConfiguration(configurations.localRuntime)dependencies {
// Compile against the JEI API without adding it as a runtime dependency.
modCompileOnly("mezz.jei:jei-${mc_version}-forge-api:${jei_version}")
modCompileOnly("mezz.jei:jei-${mc_version}-common-api:${jei_version}")
// Load the full JEI mod for development testing on Forge.
modLocalRuntime("mezz.jei:jei-${mc_version}-forge:${jei_version}")
// Load MezzConfig alongside JEI so JEI can start.
modLocalRuntime("net.mezzdev.config:mezz_config-${mc_version}-forge:${mezz_config_version}")
}ForgeGradle 7 + Renamer
In your existing FG7 project, add Renamer to the plugins block:
plugins {
id 'net.minecraftforge.renamer' version '1.1.2'
}Add this configuration to build.gradle if it is not already present:
configurations {
localRuntime {
canBeConsumed = false
canBeResolved = false
}
runtimeClasspath.extendsFrom localRuntime
}Add this line after the dependencies block that declares Minecraft:
renamer.mappings.from minecraft.dependency.toSrgFiledependencies {
// Compile against the JEI API without adding it as a runtime dependency.
compileOnly(renamer.dependency("mezz.jei:jei-${mc_version}-forge-api:${jei_version}"))
compileOnly(renamer.dependency("mezz.jei:jei-${mc_version}-common-api:${jei_version}"))
// Load the full JEI mod for development testing on Forge.
localRuntime(renamer.dependency("mezz.jei:jei-${mc_version}-forge:${jei_version}"))
// Load MezzConfig alongside JEI so JEI can start.
localRuntime(renamer.dependency("net.mezzdev.config:mezz_config-${mc_version}-forge:${mezz_config_version}"))
}ForgeGradle 5/6
Add this configuration to build.gradle if it is not already present:
configurations {
localRuntime {
canBeConsumed = false
canBeResolved = false
}
runtimeClasspath.extendsFrom localRuntime
}dependencies {
// Compile against the JEI API without adding it as a runtime dependency.
compileOnly(fg.deobf("mezz.jei:jei-${mc_version}-forge-api:${jei_version}"))
compileOnly(fg.deobf("mezz.jei:jei-${mc_version}-common-api:${jei_version}"))
// Load the full JEI mod for development testing on Forge.
localRuntime(fg.deobf("mezz.jei:jei-${mc_version}-forge:${jei_version}"))
// Load MezzConfig alongside JEI so JEI can start.
localRuntime(fg.deobf("net.mezzdev.config:mezz_config-${mc_version}-forge:${mezz_config_version}"))
}Fabric Loom
Add these dependencies to build.gradle:
dependencies {
// Compile against the JEI API without adding it as a runtime dependency.
modCompileOnly("mezz.jei:jei-${mc_version}-fabric-api:${jei_version}")
// Load the full JEI mod for development testing on Fabric.
modLocalRuntime("mezz.jei:jei-${mc_version}-fabric:${jei_version}")
}Compiling against the API helps keep your integration compatible with JEI updates. The runtime dependency adds JEI to your development game for testing.
If you need an API feature, ask on the issue tracker.
List of Plugin Implementations
- Setup
- Ingredients and Search
- Recipes
- Overview/What To Do
- Custom Machine Recipes
- Recipe Categories
- Recipe Transfer
- Vanilla Recipe Extensions
- Screen Integration
- Setup
- Ingredients and Search
- Recipes
- Overview/What To Do
- Custom Machine Recipes
- Recipe Categories
- Recipe Transfer
- Vanilla Recipe Extensions
- Screen Integration
- Setup
- Ingredients and Search
- Recipes
- Setup
- Item Ingredients
- Working with Recipes
- Essential Extras
- Advanced
- Setup
- Item Ingredients
- Working with Recipes
- Essential Extras
- Advanced
- Setup
- Item Ingredients
- Working with Recipes
- Essential Extras
- Advanced