Skip to content
mezz edited this page Oct 26, 2016 · 5 revisions

Recipe Categories

A recipe category defines everything that's common across entire categories of recipes.

The recipe categories add by plugins in JEI are Crafting, Smelting, Fuel, Brewing, and Description.
See VanillaRecipeCraftingUid for more information about these recipe categories.

Responsibilities of a recipe category:

  1. Define a category
  • The category's UID
  • Localized Title
  • Background Image
  1. Set recipe layouts based on the given recipe wrapper.
  • Fill out which ingredients are visible on the screen and their location.

Optional Abilities of a recipe category:

  1. Draw extra elements and animations on the screen.
  • Some categories may need to draw extra slots or other elements not drawn by the background.

Documentation

See IRecipeCategory.

Clone this wiki locally