Repository navigation
Getting Started [Minecraft 1.16.5]
Note
Version note: This page covers Minecraft 1.16.5 for Forge.
Other setup pages:
- Minecraft 1.12.2: Getting Started
- Minecraft 1.19.2 and 1.20.1: 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 8. 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 |
|---|---|
| 1.16.5 |
Add the matching versions to gradle.properties beside your build.gradle:
mc_version=1.16.5
jei_version=<matching JEI version>repositories {
maven { url = "https://dvs1.progwml6.com/files/maven/" }
maven { url = "https://maven.blamejared.com/" }
}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}:${jei_version}:api"))
// Load the full JEI mod for development testing on Forge.
localRuntime(renamer.dependency("mezz.jei:jei-${mc_version}:${jei_version}"))
}ForgeGradle 3–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}:${jei_version}:api"))
// Load the full JEI mod for development testing on Forge.
localRuntime(fg.deobf("mezz.jei:jei-${mc_version}:${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