Class DungeonCategory

All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<DungeonWrapper>

public class DungeonCategory extends BlankJEIRecipeCategory<DungeonWrapper>
  • Field Details

    • Y_FIRST_ITEM

      protected static final int Y_FIRST_ITEM
      See Also:
      Constant Field Values
    • X_FIRST_ITEM

      protected static final int X_FIRST_ITEM
      See Also:
      Constant Field Values
    • SPACING_Y

      protected static int SPACING_Y
    • SPACING_X

      protected static int SPACING_X
    • ITEMS_PER_PAGE

      protected static int ITEMS_PER_PAGE
  • Constructor Details

    • DungeonCategory

      public DungeonCategory()
  • Method Details

    • reloadSettings

      public static void reloadSettings()
    • getUid

      @Nonnull public net.minecraft.resources.ResourceLocation getUid()
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Returns a unique ID for this recipe category. Referenced from recipes to identify which recipe category they belong to.
      See Also:
      for vanilla examples
    • getTitle

      @Nonnull public net.minecraft.network.chat.Component getTitle()
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Returns a text component representing the name of this recipe type. Drawn at the top of the recipe GUI pages for this category.
    • getBackground

      @Nonnull public mezz.jei.api.gui.drawable.IDrawable getBackground()
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Returns the drawable background for a single recipe in this category. The size of the background determines how recipes are laid out by JEI, make sure it is the right size to contains everything being displayed.
    • getRecipeClass

      public Class<? extends DungeonWrapper> getRecipeClass()
    • setRecipe

      public void setRecipe​(@Nonnull mezz.jei.api.gui.IRecipeLayout recipeLayout, @Nonnull DungeonWrapper recipeWrapper, @Nonnull mezz.jei.api.ingredients.IIngredients ingredients)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Set the IRecipeLayout properties from the recipe.
      Parameters:
      recipeLayout - the layout that needs its properties set.
      recipeWrapper - the recipe, for extra information.
      ingredients - the ingredients, already set earlier by IRecipeCategory.setIngredients(T, mezz.jei.api.ingredients.IIngredients)