See FAQ's, last section from the bottom:
(Mod Creators Only) Blacklist recipes/categories?
-
If you would like to define a set of recipes or categories from your mod that should not be recycled (either for balance purposes, or to improve compatibility/prevent errors on load), then in data-updates, you can add to this list via:
table.insert(rf.norecycle_items, "example-recipe")
table.insert(rf.norecycle_categories, "example-category")
Always be sure to preface these lines with a check for the mod, using something like:
if (rf) then
if (rf.norecycle_items) then
--logic goes here
end
end
Please note that recipes whose internal names do not match the item(s) they produce will automatically be ignored, and do not have to be defined. Also please refrain from adding vanilla categories to this list. This would cause many more issues.