Hey guys,
I tried something to remove a Vanilla recipe
public static void removeRecipes() {
ForgeRegistry<IRecipe> FR = (ForgeRegistry<IRecipe>)ForgeRegistries.RECIPES;
//ArrayList<IRecipe> recipes = new ArrayList(recipeRegistry.getValues());
for(IRecipe r : FR) {
ItemStack I = r.getRecipeOutput();
if(I != null && I.getItem() == Item.getItemFromBlock(Blocks.CRAFTING_TABLE)) {
FR.remove(FR.getKey(r));
}
}
}
bud sadly that dont work, i tried a lot of other ways and i searched a lot around the internet and found things like "Craftingmager.getInstance" but that seems only to work for 1.7 :C so does anybody know a solution to that problem? I would be Happy