{
  "type": "minecraft:entity",
  "pools": [
    {
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "count": {
                "type": "minecraft:uniform",
                "max": 2.0,
                "min": 0.0
              },
              "function": "minecraft:set_count"
            },
            {
              "count": {
                "type": "minecraft:uniform",
                "max": 1.0,
                "min": 0.0
              },
              "enchantment": "minecraft:looting",
              "function": "minecraft:enchanted_count_increase"
            }
          ],
          "name": "minecraft:rotten_flesh"
        }
      ],
      "rolls": 1.0
    },
    {
      "entries": [
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "minecraft:vehicle": {
                  "minecraft:entity_type": "minecraft:camel_husk"
                }
              }
            }
          ],
          "functions": [
            {
              "count": {
                "type": "minecraft:uniform",
                "max": 1.0,
                "min": 0.0
              },
              "function": "minecraft:set_count"
            },
            {
              "count": {
                "type": "minecraft:uniform",
                "max": 1.0,
                "min": 0.0
              },
              "enchantment": "minecraft:looting",
              "function": "minecraft:enchanted_count_increase"
            }
          ],
          "name": "minecraft:rabbit_foot"
        }
      ],
      "rolls": 1.0
    },
    {
      "conditions": [
        {
          "condition": "minecraft:killed_by_player"
        },
        {
          "condition": "minecraft:random_chance_with_enchanted_bonus",
          "enchanted_chance": {
            "type": "minecraft:linear",
            "base": 0.035,
            "per_level_above_first": 0.01
          },
          "enchantment": "minecraft:looting",
          "unenchanted_chance": 0.025
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:carrot"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "conditions": [
                {
                  "condition": "minecraft:any_of",
                  "terms": [
                    {
                      "condition": "minecraft:entity_properties",
                      "entity": "this",
                      "predicate": {
                        "minecraft:flags": {
                          "is_on_fire": true
                        }
                      }
                    },
                    {
                      "condition": "minecraft:entity_properties",
                      "entity": "direct_attacker",
                      "predicate": {
                        "minecraft:equipment": {
                          "mainhand": {
                            "predicates": {
                              "minecraft:enchantments": [
                                {
                                  "enchantments": "#minecraft:smelts_loot"
                                }
                              ]
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              ],
              "function": "minecraft:furnace_smelt"
            }
          ],
          "name": "minecraft:potato"
        }
      ],
      "rolls": 1.0
    }
  ],
  "random_sequence": "minecraft:entities/husk"
}