I want to make the carrot on a stick crafting recipe disabled. Is there an easy way to do this? Also, I want it for a specific world.
I think that you could have a repeating command block execute this command:
/clear @a minecraft:carrot_on_a_stick
Once a carrot on a stick is obtained it will instantly be cleared from the player's inventory.
Adding/removing recipes isn't something vanilla Minecraft supports. There are no configuration files with recipes. You'd need a mod. I'd suggest CraftTweaker, but there's no 1.15 version.