I think this has been an issue for a long time so perhaps it's WAI? But the behavior is inconsistent so I'm going to try a bug report.
Problem: When holding a potato or carrot, the left-trigger/"use" behavior is inconsistent, and prevents planting in a row if the player is hungry.
Steps to Reproduce:
Steve must be hungry during these tests.
1) (Consistent) Hold a carrot and left-trigger/"use" while the cursor points at a chest.
Expected behavior: the chest opens
Actual behavior: the chest opens
2) (Consistent) Hold a carrot and left-trigger/"use" while the cursor points at air or other non-usable block.
Expected behavior: Steve eats the carrot
Actual behavior: Steve eats the carrot
3) (Inconsistent) Hold a carrot and left-trigger/"use" while the cursor points at a row of empty farmland and begin walking down the row.
Expected behavior: carrots are planted in each farmland block
Actual behavior: the first carrot is planted; Steve eats the next carrot
This inconsistency in how the "use" action is interpreted between a Chest (or a gate or any other usable item) and farmland makes it somewhat more annoying to plant a large field while slightly hungry. I don't want to eat my supply, and I don't want to eat at all until I'm sufficiently hungry so that my saturation will fill up along with my hunger bar.
I think the continuous-use (on Xbox, pull-and-hold the left trigger) action needs special handling if an edible, plantable item is being held. If the first target block is farmland, then the game should only allow plant_item() or do_nothing() until the use button/trigger is released. So I can be starving, but as long as the target block is farmland when I pull the trigger, I can walk around (including passing over non-farmland blocks) and plant carrots into any farmland that passes under the cursor. If it isn't farmland then do_nothing().
Once the trigger is released, then on the next pull the game decides again what to do with the carrot based on what is under the cursor. Usable item like a chest? Use it. Farmland? Start the rapid-planting cycle again. Air or other non-usable block? Eat the carrot (and keep eating carrots until they run out or the trigger is released).
Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki