{
  "type": "minecraft:block",
  "functions": [
    {
      "function": "minecraft:explosion_decay"
    }
  ],
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "stick",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:custom_data": "{xporb:tag,del:tag}"
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:block_state_property",
          "block": "minecraft:potatoes",
          "properties": {
            "age": "7"
          }
        },
        {
          "condition": "minecraft:match_tool",
          "predicate": {
            "items": "#minecraft:hoes"
          }
        }
      ]
    },
    {
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:potato",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:item_name": "Wild Potato",
                "minecraft:lore": [
                  {
                    "text": "A hearty potato",
                    "color": "gray",
                    "italic": false
                  }
                ],
                "minecraft:food": {
                  "nutrition": 2,
                  "saturation": 1
                },
                "minecraft:custom_data": "{wild:tag}"
              },
              "conditions": [
                {
                  "condition": "minecraft:location_check",
                  "offsetY": -1,
                  "predicate": {
                    "block": {
                      "blocks": "minecraft:rooted_dirt"
                    }
                  }
                },
                {
                  "condition": "minecraft:block_state_property",
                  "block": "minecraft:potatoes",
                  "properties": {
                    "age": "7"
                  }
                }
              ]
            }
          ]
        }
      ],
      "rolls": 1
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:potato",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:item_name": "Wild Potato",
                "minecraft:lore": [
                  {
                    "text": "A hearty potato",
                    "color": "gray",
                    "italic": false
                  }
                ],
                "minecraft:food": {
                  "nutrition": 2,
                  "saturation": 1
                },
                "minecraft:custom_data": "{wild:tag}"
              },
              "conditions": [
                {
                  "condition": "minecraft:location_check",
                  "offsetY": -1,
                  "predicate": {
                    "block": {
                      "blocks": "minecraft:rooted_dirt"
                    }
                  }
                }
              ]
            },
            {
              "function": "minecraft:apply_bonus",
              "enchantment": "minecraft:fortune",
              "formula": "minecraft:binomial_with_bonus_count",
              "parameters": {
                "extra": 3,
                "probability": 0.3333
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "block": "minecraft:potatoes",
          "condition": "minecraft:block_state_property",
          "properties": {
            "age": "7"
          }
        }
      ]
    },
    {
      "bonus_rolls": 0,
      "conditions": [
        {
          "block": "minecraft:potatoes",
          "condition": "minecraft:block_state_property",
          "properties": {
            "age": "7"
          }
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "chance": 0.02,
              "condition": "minecraft:random_chance"
            }
          ],
          "name": "minecraft:poisonous_potato"
        }
      ],
      "rolls": 1
    }
  ],
  "random_sequence": "minecraft:blocks/potatoes"
}