{
  "type": "minecraft:block",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "conditions": [
        {
          "condition": "minecraft:survives_explosion"
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:copy_name",
              "source": "block_entity"
            },
            {
              "function": "minecraft:copy_nbt",
              "ops": [
                {
                  "op": "replace",
                  "source": "Patterns",
                  "target": "BlockEntityTag.Patterns"
                }
              ],
              "source": "block_entity"
            }
          ],
          "name": "minecraft:green_banner"
        }
      ],
      "rolls": 1.0
    }
  ]
}