2015-11-29 07:52:06 +00:00
|
|
|
package WayofTime.bloodmagic.compat.jei;
|
|
|
|
|
|
|
|
import WayofTime.bloodmagic.compat.jei.altar.AltarRecipeCategory;
|
|
|
|
import WayofTime.bloodmagic.compat.jei.altar.AltarRecipeHandler;
|
|
|
|
import WayofTime.bloodmagic.compat.jei.altar.AltarRecipeMaker;
|
2015-12-03 03:27:28 +00:00
|
|
|
import WayofTime.bloodmagic.compat.jei.binding.BindingRecipeCategory;
|
|
|
|
import WayofTime.bloodmagic.compat.jei.binding.BindingRecipeHandler;
|
|
|
|
import WayofTime.bloodmagic.compat.jei.binding.BindingRecipeMaker;
|
2015-11-29 07:52:06 +00:00
|
|
|
import mezz.jei.api.IModPlugin;
|
2015-12-14 07:07:22 +00:00
|
|
|
import mezz.jei.api.IModRegistry;
|
2015-12-04 01:12:50 +00:00
|
|
|
import mezz.jei.api.JEIPlugin;
|
2015-11-29 07:52:06 +00:00
|
|
|
|
2015-12-04 01:12:50 +00:00
|
|
|
@JEIPlugin
|
2015-11-29 07:52:06 +00:00
|
|
|
public class BloodMagicPlugin implements IModPlugin {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isModLoaded() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2015-12-14 07:07:22 +00:00
|
|
|
public void register(IModRegistry registry) {
|
|
|
|
registry.addRecipeCategories(
|
2015-12-03 03:27:28 +00:00
|
|
|
new AltarRecipeCategory(),
|
|
|
|
new BindingRecipeCategory()
|
2015-11-29 07:52:06 +00:00
|
|
|
);
|
|
|
|
|
2015-12-14 07:07:22 +00:00
|
|
|
registry.addRecipeHandlers(
|
2015-12-03 03:27:28 +00:00
|
|
|
new AltarRecipeHandler(),
|
|
|
|
new BindingRecipeHandler()
|
2015-11-29 07:52:06 +00:00
|
|
|
);
|
|
|
|
|
2015-12-14 07:07:22 +00:00
|
|
|
registry.addRecipes(AltarRecipeMaker.getRecipes());
|
|
|
|
registry.addRecipes(BindingRecipeMaker.getRecipes());
|
2015-11-29 07:52:06 +00:00
|
|
|
}
|
|
|
|
}
|