Class JEIPlugin
java.lang.Object
me.desht.pneumaticcraft.common.thirdparty.jei.JEIPlugin
- All Implemented Interfaces:
mezz.jei.api.IModPlugin
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationThe unique ID for this mod plugin.voidonRuntimeAvailable(mezz.jei.api.runtime.IJeiRuntime jeiRuntime) Called when jei's runtime features are available, after all mods have registered.voidregisterCategories(mezz.jei.api.registration.IRecipeCategoryRegistration registry) Register the categories handled by this plugin.voidregisterGuiHandlers(mezz.jei.api.registration.IGuiHandlerRegistration registration) Register various GUI-related things for your mod.voidregisterItemSubtypes(mezz.jei.api.registration.ISubtypeRegistration registration) If your item has subtypes that depend on NBT or capabilities, use this to help JEI identify those subtypes correctly.voidregisterRecipeCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration) Register recipe catalysts.voidregisterRecipes(mezz.jei.api.registration.IRecipeRegistration registration) Register modded recipes.voidregisterRecipeTransferHandlers(mezz.jei.api.registration.IRecipeTransferRegistration registration) Register recipe transfer handlers (move ingredients from the inventory into crafting GUIs).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mezz.jei.api.IModPlugin
registerAdvanced, registerFluidSubtypes, registerIngredients, registerVanillaCategoryExtensions
-
Constructor Details
-
JEIPlugin
public JEIPlugin()
-
-
Method Details
-
registerItemSubtypes
public void registerItemSubtypes(mezz.jei.api.registration.ISubtypeRegistration registration) Description copied from interface:mezz.jei.api.IModPluginIf your item has subtypes that depend on NBT or capabilities, use this to help JEI identify those subtypes correctly.- Specified by:
registerItemSubtypesin interfacemezz.jei.api.IModPlugin
-
registerCategories
public void registerCategories(mezz.jei.api.registration.IRecipeCategoryRegistration registry) Description copied from interface:mezz.jei.api.IModPluginRegister the categories handled by this plugin. These are registered before recipes so they can be checked for validity.- Specified by:
registerCategoriesin interfacemezz.jei.api.IModPlugin
-
registerRecipes
public void registerRecipes(mezz.jei.api.registration.IRecipeRegistration registration) Description copied from interface:mezz.jei.api.IModPluginRegister modded recipes.- Specified by:
registerRecipesin interfacemezz.jei.api.IModPlugin
-
registerRecipeCatalysts
public void registerRecipeCatalysts(mezz.jei.api.registration.IRecipeCatalystRegistration registration) Description copied from interface:mezz.jei.api.IModPluginRegister 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:
registerRecipeCatalystsin interfacemezz.jei.api.IModPlugin
-
registerGuiHandlers
public void registerGuiHandlers(mezz.jei.api.registration.IGuiHandlerRegistration registration) Description copied from interface:mezz.jei.api.IModPluginRegister 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:
registerGuiHandlersin interfacemezz.jei.api.IModPlugin
-
onRuntimeAvailable
public void onRuntimeAvailable(mezz.jei.api.runtime.IJeiRuntime jeiRuntime) Description copied from interface:mezz.jei.api.IModPluginCalled when jei's runtime features are available, after all mods have registered.- Specified by:
onRuntimeAvailablein interfacemezz.jei.api.IModPlugin
-
registerRecipeTransferHandlers
public void registerRecipeTransferHandlers(mezz.jei.api.registration.IRecipeTransferRegistration registration) Description copied from interface:mezz.jei.api.IModPluginRegister recipe transfer handlers (move ingredients from the inventory into crafting GUIs).- Specified by:
registerRecipeTransferHandlersin interfacemezz.jei.api.IModPlugin
-
getPluginUid
public net.minecraft.resources.ResourceLocation getPluginUid()Description copied from interface:mezz.jei.api.IModPluginThe unique ID for this mod plugin. The namespace should be your mod's modId.- Specified by:
getPluginUidin interfacemezz.jei.api.IModPlugin
-