Class CreateJEI

java.lang.Object
com.simibubi.create.compat.jei.CreateJEI
All Implemented Interfaces:
mezz.jei.api.IModPlugin

public class CreateJEI extends Object implements mezz.jei.api.IModPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    mezz.jei.api.runtime.IIngredientManager
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    doInputsMatch(net.minecraft.world.item.crafting.Recipe<?> recipe1, net.minecraft.world.item.crafting.Recipe<?> recipe2)
     
    static List<net.minecraft.world.item.crafting.Recipe<?>>
    findRecipes(Predicate<net.minecraft.world.item.crafting.Recipe<?>> predicate)
     
    static List<net.minecraft.world.item.crafting.Recipe<?>>
    findRecipesByType(net.minecraft.world.item.crafting.RecipeType<?> type)
     
    static List<net.minecraft.world.item.crafting.Recipe<?>>
    findRecipesByTypeExcluding(net.minecraft.world.item.crafting.RecipeType<?> type, net.minecraft.world.item.crafting.RecipeType<?> excludingType)
     
    static List<net.minecraft.world.item.crafting.Recipe<?>>
    findRecipesByTypeExcluding(net.minecraft.world.item.crafting.RecipeType<?> type, net.minecraft.world.item.crafting.RecipeType<?>... excludingTypes)
     
    net.minecraft.resources.ResourceLocation
    The unique ID for this mod plugin.
    void
    registerCategories(mezz.jei.api.registration.IRecipeCategoryRegistration registration)
    Register the categories handled by this plugin.
    void
    registerFluidSubtypes(mezz.jei.api.registration.ISubtypeRegistration registration)
    If your fluid has subtypes that depend on NBT or capabilities, use this to help JEI identify those subtypes correctly.
    void
    registerGuiHandlers(mezz.jei.api.registration.IGuiHandlerRegistration registration)
    Register various GUI-related things for your mod.
    void
    registerRecipeCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration)
    Register recipe catalysts.
    void
    registerRecipes(mezz.jei.api.registration.IRecipeRegistration registration)
    Register modded recipes.
    void
    registerRecipeTransferHandlers(mezz.jei.api.registration.IRecipeTransferRegistration registration)
    Register recipe transfer handlers (move ingredients from the inventory into crafting GUIs).
    static void
    removeRecipesByType(List<net.minecraft.world.item.crafting.Recipe<?>> recipes, net.minecraft.world.item.crafting.RecipeType<?> type)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface mezz.jei.api.IModPlugin

    onRuntimeAvailable, registerAdvanced, registerIngredients, registerItemSubtypes, registerVanillaCategoryExtensions
  • Field Details

    • ingredientManager

      public mezz.jei.api.runtime.IIngredientManager ingredientManager
  • Constructor Details

    • CreateJEI

      public CreateJEI()
  • Method Details

    • getPluginUid

      @Nonnull public net.minecraft.resources.ResourceLocation getPluginUid()
      Description copied from interface: mezz.jei.api.IModPlugin
      The unique ID for this mod plugin. The namespace should be your mod's modId.
      Specified by:
      getPluginUid in interface mezz.jei.api.IModPlugin
    • registerRecipeTransferHandlers

      public void registerRecipeTransferHandlers(mezz.jei.api.registration.IRecipeTransferRegistration registration)
      Description copied from interface: mezz.jei.api.IModPlugin
      Register recipe transfer handlers (move ingredients from the inventory into crafting GUIs).
      Specified by:
      registerRecipeTransferHandlers in interface mezz.jei.api.IModPlugin
    • registerCategories

      public void registerCategories(mezz.jei.api.registration.IRecipeCategoryRegistration registration)
      Description copied from interface: mezz.jei.api.IModPlugin
      Register the categories handled by this plugin. These are registered before recipes so they can be checked for validity.
      Specified by:
      registerCategories in interface mezz.jei.api.IModPlugin
    • registerFluidSubtypes

      public void registerFluidSubtypes(mezz.jei.api.registration.ISubtypeRegistration registration)
      Description copied from interface: mezz.jei.api.IModPlugin
      If your fluid has subtypes that depend on NBT or capabilities, use this to help JEI identify those subtypes correctly.
      Specified by:
      registerFluidSubtypes in interface mezz.jei.api.IModPlugin
    • registerRecipes

      public void registerRecipes(mezz.jei.api.registration.IRecipeRegistration registration)
      Description copied from interface: mezz.jei.api.IModPlugin
      Register modded recipes.
      Specified by:
      registerRecipes in interface mezz.jei.api.IModPlugin
    • registerRecipeCatalysts

      public void registerRecipeCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration)
      Description copied from interface: mezz.jei.api.IModPlugin
      Register recipe catalysts. Recipe Catalysts are ingredients that are needed in order to craft other things. Vanilla examples of Recipe Catalysts are the Crafting Table and Furnace.
      Specified by:
      registerRecipeCatalysts in interface mezz.jei.api.IModPlugin
    • registerGuiHandlers

      public void registerGuiHandlers(mezz.jei.api.registration.IGuiHandlerRegistration registration)
      Description copied from interface: mezz.jei.api.IModPlugin
      Register various GUI-related things for your mod. This includes adding clickable areas in your guis to open JEI, and adding areas on the screen that JEI should avoid drawing.
      Specified by:
      registerGuiHandlers in interface mezz.jei.api.IModPlugin
    • findRecipes

      public static List<net.minecraft.world.item.crafting.Recipe<?>> findRecipes(Predicate<net.minecraft.world.item.crafting.Recipe<?>> predicate)
    • findRecipesByType

      public static List<net.minecraft.world.item.crafting.Recipe<?>> findRecipesByType(net.minecraft.world.item.crafting.RecipeType<?> type)
    • findRecipesByTypeExcluding

      public static List<net.minecraft.world.item.crafting.Recipe<?>> findRecipesByTypeExcluding(net.minecraft.world.item.crafting.RecipeType<?> type, net.minecraft.world.item.crafting.RecipeType<?> excludingType)
    • findRecipesByTypeExcluding

      public static List<net.minecraft.world.item.crafting.Recipe<?>> findRecipesByTypeExcluding(net.minecraft.world.item.crafting.RecipeType<?> type, net.minecraft.world.item.crafting.RecipeType<?>... excludingTypes)
    • removeRecipesByType

      public static void removeRecipesByType(List<net.minecraft.world.item.crafting.Recipe<?>> recipes, net.minecraft.world.item.crafting.RecipeType<?> type)
    • doInputsMatch

      public static boolean doInputsMatch(net.minecraft.world.item.crafting.Recipe<?> recipe1, net.minecraft.world.item.crafting.Recipe<?> recipe2)