{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "pr:fossil_citipati",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "pr:pickup": {
        "minecraft:instant_despawn": {}
      },
      "pr:baby": {
        "minecraft:scale": {
          "value": 0.3
        }
      },
      "pr:juvenile": {
        "minecraft:scale": {
          "value": 0.5
        }
      },
      "pr:adult": {
        "minecraft:scale": {
          "value": 1
        }
      },
      "pr:active": {
        "minecraft:is_stunned": {}
      }
    },
    "components": {
      "minecraft:physics": {},
      "minecraft:health": {
        "value": 2,
        "max": 2
      },
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? 10 : 0"
      },
      "minecraft:movement": {
        "value": 0,
        "max": 0.23
      },
      "minecraft:underwater_movement": {
        "value": 0.02
      },
      "minecraft:type_family": {
        "family": []
      },
      "minecraft:scale": {
        "value": 1
      },
      "minecraft:collision_box": {
        "height": 1.5,
        "width": 1.4
      },
      "minecraft:interact": {
        "interactions": [
          {
            "interact_text": "Pick Up",
            "swing": true,
            "use_item": false,
            "transform_to_item": "pr:citipati_fossil",
            "on_interact": {
              "event": "pr:pickup",
              "target": "self"
            }
          }
        ]
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "cause": "attack",
          "deals_damage": false
        }
      }
    },
    "events": {
      "minecraft:entity_born": {
        "randomize": [
          {
            "weight": 15,
            "add": {
              "component_groups": [
                "pr:baby"
              ]
            }
          },
          {
            "weight": 15,
            "add": {
              "component_groups": [
                "pr:juvenile"
              ]
            }
          },
          {
            "weight": 20,
            "add": {
              "component_groups": [
                "pr:adult"
              ]
            }
          },
          {
            "weight": 15,
            "add": {
              "component_groups": [
                "pr:baby",
                "pr:active"
              ]
            }
          },
          {
            "weight": 15,
            "add": {
              "component_groups": [
                "pr:juvenile",
                "pr:active"
              ]
            }
          },
          {
            "weight": 20,
            "add": {
              "component_groups": [
                "pr:adult",
                "pr:active"
              ]
            }
          }
        ]
      },
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "weight": 15,
            "add": {
              "component_groups": [
                "pr:baby"
              ]
            }
          },
          {
            "weight": 15,
            "add": {
              "component_groups": [
                "pr:juvenile"
              ]
            }
          },
          {
            "weight": 20,
            "add": {
              "component_groups": [
                "pr:adult"
              ]
            }
          },
          {
            "weight": 15,
            "add": {
              "component_groups": [
                "pr:baby",
                "pr:active"
              ]
            }
          },
          {
            "weight": 15,
            "add": {
              "component_groups": [
                "pr:juvenile",
                "pr:active"
              ]
            }
          },
          {
            "weight": 20,
            "add": {
              "component_groups": [
                "pr:adult",
                "pr:active"
              ]
            }
          }
        ]
      },
      "on:death": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt_by_player": {
        "run_command": {
          "command": []
        }
      },
      "on:ignite": {
        "run_command": {
          "command": []
        }
      },
      "on:target_acquired": {
        "run_command": {
          "command": []
        }
      },
      "on:target_escape": {
        "run_command": {
          "command": []
        }
      },
      "on:wake_with_owner": {
        "run_command": {
          "command": []
        }
      },
      "on:tick_action": {
        "run_command": {
          "command": []
        }
      },
      "pr:pickup": {
        "add": {
          "component_groups": [
            "pr:pickup"
          ]
        }
      }
    }
  }
}