I want to drop a loot when you throw an egg in my forge 1.19 mod. What condition can I use to make the item drop when you throw an egg? 
 
	I all ready tried this 
 
{
  "type": "scorpiamod:add_item",
  "conditions": [
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "type": "minecraft:egg"
      }
    }
  ],
  "item": "scorpiamod:egg_shell"
}
	 
 
	And I'm wondering how you can drop more than one in a loot_modifier item since only one item is dropped in my code.
 
{
  "type": "scorpiamod:add_item",
  "conditions": [
    {
      "condition": "minecraft:killed_by_player"
    },
    {
      "condition": "entity_properties",
      "entity": "this",
      "predicate": {
        "type": "minecraft:ender_dragon"
      }
    }
  ],
  "functions": [
    {
      "function": "set_count",
      "count": {
        "min": 3,
        "max": 5
      }
    }
  ],
  "item": "scorpiamod:dragon_shell"
}