Hello. I started modding this game on 1.14 version and I need to know:
How i can remove vanilla recipes?
I found a recipe list but it`s not works
private void setup(final FMLCommonSetupEvent event)
{
Iterator<IRecipe<?>> recipes = new RecipeManager().getRecipes().iterator();
recipes.forEachRemaining((iRecipe -> {
recipes.remove();
}));
}
I also tryed this:
private void setup(final FMLCommonSetupEvent event)
{
Iterator<IRecipe<?>> recipes = new RecipeManager().getRecipes().iterator();
while(recipes.hasNext()) {
recipes.remove();
}
}