Update JEI compat
This commit is contained in:
parent
7dd170e5ad
commit
f35cef51bb
6 changed files with 38 additions and 12 deletions
|
@ -6,7 +6,9 @@ import WayofTime.bloodmagic.compat.jei.altar.AltarRecipeMaker;
|
|||
import mezz.jei.api.IModPlugin;
|
||||
import mezz.jei.api.recipe.IRecipeCategory;
|
||||
import mezz.jei.api.recipe.IRecipeHandler;
|
||||
import mezz.jei.api.recipe.IRecipeTransferHelper;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
@ -19,6 +21,7 @@ public class BloodMagicPlugin implements IModPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
@Nonnull
|
||||
public Iterable<? extends IRecipeCategory> getRecipeCategories() {
|
||||
return Arrays.asList(
|
||||
new AltarRecipeCategory()
|
||||
|
@ -26,13 +29,22 @@ public class BloodMagicPlugin implements IModPlugin {
|
|||
}
|
||||
|
||||
@Override
|
||||
@Nonnull
|
||||
public Iterable<? extends IRecipeHandler> getRecipeHandlers() {
|
||||
return Arrays.asList(
|
||||
new AltarRecipeHandler()
|
||||
);
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
public Iterable<? extends IRecipeTransferHelper> getRecipeTransferHelpers() {
|
||||
return Arrays.asList(
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nonnull
|
||||
public Iterable<Object> getRecipes() {
|
||||
List<Object> recipes = new ArrayList<Object>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue