Class JEIMhmBitsnbobsPlugin
java.lang.Object
net.minheur.mhm_bitsnbobs.compat.jei.JEIMhmBitsnbobsPlugin
- All Implemented Interfaces:
mezz.jei.api.IModPlugin
JEI plugin for Mhm bitsnbobs.
Here we register the categories for JEI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationvoidregisterCategories(mezz.jei.api.registration.IRecipeCategoryRegistration registration) Here we add our categoriesvoidregisterGuiHandlers(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 blockvoidregisterRecipeCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration) The catalysts are blocks / items that are displayed next to the recipes.voidregisterRecipes(mezz.jei.api.registration.IRecipeRegistration registration) This tells JEI which recipe type is which categoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getPluginUidin interfacemezz.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:
registerCategoriesin interfacemezz.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:
registerRecipeCatalystsin interfacemezz.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:
registerRecipesin interfacemezz.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:
registerGuiHandlersin interfacemezz.jei.api.IModPlugin- Parameters:
registration- used to registrate the handlers.
-