{
  "type": "minecraft:gift",
  "pools": [
    {
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:alternatives",
          "children": [
            {
              "type": "minecraft:item",
              "functions": [
                {
                  "function": "minecraft:set_count",
                  "count": 1,
                  "add": true,
                  "conditions": [
                    {
                      "condition": "minecraft:random_chance",
                      "chance": 0.25
                    }
                  ]
                }
              ],
              "conditions": [
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "components": {
                      "minecraft:chicken/variant": "minecraft:temperate"
                    }
                  }
                }
              ],
              "name": "minecraft:egg"
            },
            {
              "type": "minecraft:item",
              "conditions": [
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "components": {
                      "minecraft:chicken/variant": "minecraft:warm"
                    }
                  }
                }
              ],
              "name": "minecraft:brown_egg"
            },
            {
              "type": "minecraft:item",
              "conditions": [
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "components": {
                      "minecraft:chicken/variant": "minecraft:cold"
                    }
                  }
                }
              ],
              "name": "minecraft:blue_egg"
            }
          ]
        }
      ],
      "rolls": 1
    }
  ],
  "random_sequence": "minecraft:gameplay/chicken_lay"
}