public abstract class BlankModPlugin extends java.lang.Object implements IModPlugin
IModPlugin that does nothing, inherit from this to avoid implementing methods you don't need.
IModPlugin implementations must have the JEIPlugin annotation to get loaded by JEI.| Constructor and Description |
|---|
BlankModPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRuntimeAvailable(IJeiRuntime jeiRuntime)
Called when jei's runtime features are available, after all mods have registered.
|
void |
register(IModRegistry registry)
Register this mod plugin with the mod registry.
|
void |
registerIngredients(IModIngredientRegistration ingredientRegistry)
Register special ingredients, beyond the basic ItemStack and FluidStack.
|
void |
registerItemSubtypes(ISubtypeRegistry subtypeRegistry)
If your item has subtypes that depend on NBT or capabilities, use this to help JEI identify those subtypes correctly.
|
public void registerItemSubtypes(ISubtypeRegistry subtypeRegistry)
IModPluginregisterItemSubtypes in interface IModPluginpublic void registerIngredients(IModIngredientRegistration ingredientRegistry)
IModPluginregisterIngredients in interface IModPluginpublic void register(IModRegistry registry)
IModPluginregister in interface IModPluginpublic void onRuntimeAvailable(IJeiRuntime jeiRuntime)
IModPluginonRuntimeAvailable in interface IModPlugin