Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-271987

Foxes aren't eating eggs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.6
    • None
    • Unconfirmed
    • (Unassigned)

      Foxes are known to eat eggs as a fun snack for them. I feel foxes should be able to eat eggs by default...
      You can make the foxes eat eggs but adding a "food" component to the item

      I tried adding eggs as a food source for the fox using datapacks by adding "fox_food.json" into "minecraft/tags/items/": 

      {
          "values": [
              "minecraft:sweet_berries",
              "minecraft:glow_berries",
              "minecraft:egg",
              "minecraft:turtle_egg"
          ]
      } 

      But then I found out that this file controls the breeding items....

      Food component: 

      /give @s egg[food={nutrition:1,saturation:1}]

            Unassigned Unassigned
            ArsiTheFox ArsiTheFox
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: