{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:bee_nest",
          "functions": [
            {
              "function": "minecraft:copy_components",
              "source": "block_entity",
              "include": [
                "minecraft:bees"
              ]
            },
            {
              "function": "minecraft:copy_state",
              "block": "minecraft:bee_nest",
              "properties": [
                "honey_level"
              ]
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:match_tool",
          "predicate": {
            "predicates": {
              "minecraft:enchantments": [
                {
                  "enchantments": "minecraft:silk_touch",
                  "levels": {
                    "min": 1
                  }
                }
              ]
            }
          }
        }
      ]
    },
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:honeycomb",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 3
            }
          ],
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "minecraft:bee_nest",
              "properties": {
                "honey_level": "5"
              }
            },
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "minecraft:match_tool",
                "predicate": {
                  "predicates": {
                    "minecraft:enchantments": [
                      {
                        "enchantments": "minecraft:silk_touch",
                        "levels": {
                          "min": 1
                        }
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      ]
    }
  ],
  "random_sequence": "minecraft:blocks/bee_nest"
}