{
  "type": "minecraft:block",
  "pools": [
    {
      "bonus_rolls": 0,
      "conditions": [
        {
          "condition": "minecraft:survives_explosion"
        }
      ],
      "entries": [
        {
          "type": "minecraft:alternatives",
          "children": [
            {
              "type": "minecraft:item",
              "name": "minecraft:hanging_roots",
              "conditions": [
                {
                  "condition": "minecraft:random_chance",
                  "chance": 0.15
                },
                {
                  "condition": "minecraft:inverted",
                  "term": {
                    "condition": "minecraft:match_tool",
                    "predicate": {
                      "components": {
                        "minecraft:enchantments": {
                          "minecraft:silk_touch": 1
                        }
                      }
                    }
                  }
                }
              ]
            },
            {
              "type": "minecraft:item",
              "name": "minecraft:dirt",
              "conditions": []
            }
          ]
        }
      ],
      "rolls": 1
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:poisonous_potato",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:food": {
                  "nutrition": 1,
                  "saturation": 0
                },
                "minecraft:item_name": {
                  "text": "Maggot Meat",
                  "color": "white"
                },
                "minecraft:item_model": "minecraft:beef",
                "custom_data": {
                  "IsMaggot": true
                }
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.1
        },
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "components": {
                "minecraft:enchantments": {
                  "minecraft:silk_touch": 1
                }
              }
            }
          }
        }
      ]
    }
  ],
  "random_sequence": "minecraft:blocks/dirt"
}