Skip to content

Item Subtypes [Minecraft 1.16.5 to 1.18.2]

mezz edited this page Sep 30, 2026 · 6 revisions

Note

Version note: This page covers item subtypes for Minecraft 1.16.5–1.20.1. Use the API Javadocs for exact class and method names on the version you target.

Other item subtype or ingredient pages:

The Subtype Problem

Items can have unlimited variations by using NBT or capabilities. Not all of the extra information is important for recipes, but some of it necessary to tell items apart.

Example: Your mod has a backpack that holds items, so it has a lot of NBT data. It has an upgrade recipe that only cares about the color of the backpack, but not the contents. How can JEI pay attention to the color but ignore the contents?

The Subtype Solution

The ISubtypeRegistration allows plugins to tell JEI what makes an item unique, and use that information for comparing and looking up items.

Example: Forestry bees have tons of NBT defining their genetics. The Forestry JEI plugin uses the subtype registry to tell JEI to only look at the bee's species when comparing them and when looking up recipes involving bees.

To register your item's subtypes, first create your plugin, then you are passed the ISubtypeRegistration in your plugin's registerItemSubtypes method.

Home

List of Plugin Implementations

Minecraft 26.1.2–26.3

  1. Setup
  1. Ingredients and Search
  1. Recipes
  1. Screen Integration

Minecraft 1.21.11

  1. Setup
  1. Ingredients and Search
  1. Recipes
  1. Screen Integration

Minecraft 1.21–1.21.1

  1. Setup
  1. Ingredients and Search
  1. Recipes

Minecraft 1.19.2 and 1.20.1

  1. Setup
  1. Item Ingredients
  1. Working with Recipes
  1. Essential Extras
  1. Advanced

Minecraft 1.16.5

  1. Setup
  1. Item Ingredients
  1. Working with Recipes
  1. Essential Extras
  1. Advanced

Minecraft 1.12.2

  1. Setup
  1. Item Ingredients
  1. Working with Recipes
  1. Essential Extras
  1. Advanced

Clone this wiki locally