{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": {
        "min": 3,
        "max": 7
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:melon_slice"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:melon_slice",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:item_name": {
                  "text": "Juicy Melon Slice"
                },
                "custom_model_data": {"strings":["overlyrealistic:juicy_melon_slice"]}
              }
            }
          ]
        }
      ]
    },
    {
      "rolls": {
        "min": 1,
        "max": 3
      },
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:melon_slice"
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:melon_slice",
          "functions": [
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:item_name": {
                  "text": "Juicy Melon Slice"
                },
                "custom_model_data": {"strings":["overlyrealistic:juicy_melon_slice"]}
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "entity_scores",
          "entity": "this",
          "scores": {
            "OverlyRealistic.Player.WisdomStats.Husbandry": {
              "min": 4
            }
          }
        }
      ]
    }
  ]
}