Class JEIMhmBitsnbobsPlugin

java.lang.Object
net.minheur.mhm_bitsnbobs.compat.jei.JEIMhmBitsnbobsPlugin
All Implemented Interfaces:
mezz.jei.api.IModPlugin

public class JEIMhmBitsnbobsPlugin extends Object implements mezz.jei.api.IModPlugin
JEI plugin for Mhm bitsnbobs.

Here we register the categories for JEI.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.ResourceLocation
     
    void
    registerCategories(mezz.jei.api.registration.IRecipeCategoryRegistration registration)
    Here we add our categories
    void
    registerGuiHandlers(mezz.jei.api.registration.IGuiHandlerRegistration registration)
    This allows us to add different things to the screen, like a clickArea on our GUI to get directly to the recipes of out block
    void
    registerRecipeCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration)
    The catalysts are blocks / items that are displayed next to the recipes.
    void
    registerRecipes(mezz.jei.api.registration.IRecipeRegistration registration)
    This tells JEI which recipe type is which category

    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

    onConfigManagerAvailable, onRuntimeAvailable, onRuntimeUnavailable, registerAdvanced, registerExtraIngredients, registerFluidSubtypes, registerIngredientAliases, registerIngredients, registerItemSubtypes, registerRecipeTransferHandlers, registerRuntime, registerVanillaCategoryExtensions
  • Constructor Details

    • JEIMhmBitsnbobsPlugin

      public JEIMhmBitsnbobsPlugin()
  • Method Details

    • getPluginUid

      public net.minecraft.resources.ResourceLocation getPluginUid()
      Specified by:
      getPluginUid in interface mezz.jei.api.IModPlugin
      Returns:
      the ID of the plugin. (mhm_bitsnbobs:jei_plugin)
    • registerCategories

      public void registerCategories(mezz.jei.api.registration.IRecipeCategoryRegistration registration)
      Here we add our categories
      Specified by:
      registerCategories in interface mezz.jei.api.IModPlugin
      Parameters:
      registration - used to registrate the categories.
    • registerRecipeCatalysts

      public void registerRecipeCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration)
      The catalysts are blocks / items that are displayed next to the recipes.

      Often the block that supports the recipe, so the player knows what to use for the recipe.

      Specified by:
      registerRecipeCatalysts in interface mezz.jei.api.IModPlugin
      Parameters:
      registration - used to registrate the catalysts.
    • registerRecipes

      public void registerRecipes(mezz.jei.api.registration.IRecipeRegistration registration)
      This tells JEI which recipe type is which category
      Specified by:
      registerRecipes in interface mezz.jei.api.IModPlugin
      Parameters:
      registration - used to registrate the recipes.
    • registerGuiHandlers

      public void registerGuiHandlers(mezz.jei.api.registration.IGuiHandlerRegistration registration)
      This allows us to add different things to the screen, like a clickArea on our GUI to get directly to the recipes of out block
      Specified by:
      registerGuiHandlers in interface mezz.jei.api.IModPlugin
      Parameters:
      registration - used to registrate the handlers.