use of com.teamwizardry.wizardry.client.jei.fluid.FluidRecipeJEI in project Wizardry by TeamWizardry.
the class WizardryJEIPlugin method register.
@Override
public void register(IModRegistry registry) {
registry.addRecipes(FireRecipes.RECIPES.entrySet().stream().map(FireRecipeJEI::new).collect(Collectors.toList()), fireCategory.getUid());
registry.addRecipes(ManaRecipes.RECIPE_REGISTRY.values().stream().filter(recipe -> !recipe.getOutput().isEmpty() || recipe.getFluidOutput() != null).map(FluidRecipeJEI::new).collect(Collectors.toList()), manaCategory.getUid());
registry.addRecipeCatalyst(new ItemStack(Items.FIRE_CHARGE), fireCategory.getUid());
registry.addRecipeCatalyst(new ItemStack(ModItems.ORB), manaCategory.getUid());
}
Aggregations