Update JEI to latest

Fixes issue where setting "after:JEI@[1.2.3,)" would cause the blacklist to break.
This commit is contained in:
Nick 2016-02-18 00:06:25 -08:00
parent c641f69809
commit 4becdbf969

View file

@ -22,16 +22,19 @@ import WayofTime.bloodmagic.registry.ModItems;
import mezz.jei.api.*;
import net.minecraft.item.ItemStack;
import javax.annotation.Nonnull;
import java.util.Map;
@JEIPlugin
public class BloodMagicPlugin implements IModPlugin
public class BloodMagicPlugin extends BlankModPlugin
{
public static IJeiHelpers jeiHelper;
@Override
public void register(IModRegistry registry)
public void register(@Nonnull IModRegistry registry)
{
jeiHelper = registry.getJeiHelpers();
registry.addRecipeCategories(new AltarRecipeCategory(), new BindingRecipeCategory(), new AlchemyArrayCraftingCategory(), new TartaricForgeRecipeCategory());
registry.addRecipeHandlers(new AltarRecipeHandler(), new BindingRecipeHandler(), new AlchemyArrayCraftingRecipeHandler(), new TartaricForgeRecipeHandler(), new ShapedOrbRecipeHandler(), new ShapelessOrbRecipeHandler());
@ -70,27 +73,4 @@ public class BloodMagicPlugin implements IModPlugin
jeiHelper.getNbtIgnoreList().ignoreNbtTagNames(Constants.NBT.DIMENSION_ID);
jeiHelper.getNbtIgnoreList().ignoreNbtTagNames(Constants.NBT.ITEM_INVENTORY);
}
@Override
public void onJeiHelpersAvailable(IJeiHelpers jeiHelpers)
{
jeiHelper = jeiHelpers;
}
@Override
public void onItemRegistryAvailable(IItemRegistry itemRegistry)
{
}
@Override
public void onRecipeRegistryAvailable(IRecipeRegistry recipeRegistry)
{
}
@Override
public void onRuntimeAvailable(IJeiRuntime jeiRuntime) {
}
}