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)
IModPlugin
registerItemSubtypes
in interface IModPlugin
public void registerIngredients(IModIngredientRegistration ingredientRegistry)
IModPlugin
registerIngredients
in interface IModPlugin
public void register(IModRegistry registry)
IModPlugin
register
in interface IModPlugin
public void onRuntimeAvailable(IJeiRuntime jeiRuntime)
IModPlugin
onRuntimeAvailable
in interface IModPlugin