In Minecraft, one can breed animals by holding food in their hand and right-clicking on the animal they want to breed. This will consume one unit of the food, and floating hearts will appear above the animal. Repeating this with another animal will cause the two of them to breed.

Different animals will need different types of food, so make sure to check that the food you are using is compatible with the animal.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence