{
  "Replace": false,
  "StepHeight": 1,
  "Tamable": true,
  "Attributes": {
    "MaxHealth": 30.0,
    "MaxHunger": 20.0,
    "MaxEnergy": 80.0,
    "MovementSpeed": 0.3,
    "SwimSpeed": 2.0,
    "KnockbackResistance": 0.15,
    "FollowRange": 32.0,
    "AttackDamage": 4.0
  },
  "SpawnData": {
    "SpawnCount": "2-4",
    "SpawnWeight": 2,
    "RandomChance": 1,
    "Biomes": [
      {
        "ID": "minecraft:plains"
      },
      {
        "ID": "minecraft:savanna"
      }
    ]
  },
  "TameMethod": {
    "ID": "dawnera:feed_from_ground",
    "Chance": 3
  },
  "AI": {
    "TargetGoals": [
      {
        "Priority": 0,
        "ID": "dawnera:target_hit_by_owner"
      },
      {
        "Priority": 1,
        "ID": "dawnera:target_owner_hit_by"
      },
      {
        "Priority": 1,
        "ID": "dawnera:target_hit_by",
        "AlertOthers": true
      },
      {
        "Priority": 1,
        "ID": "dawnera:target_has_baby"
      },
      {
        "Priority": 2,
        "ID": "dawnera:target_hunt"
      }
    ],
    "Goals": [
      {
        "Priority": 0,
        "ID": "dawnera:float_on_water"
      },
      {
        "Priority": 0,
        "ID": "dawnera:love_timed",
        "Delay": 4000
      },
      {
        "Priority": 0,
        "ID": "dawnera:panic_of_entity",
        "WalkSpeed": 1.4,
        "SprintSpeed": 1.4,
        "MaxDistance": 20,
        "TargetConditions": "dawnera:is_player || dawnera:is_big || dawnera:is_giant",
        "CanUse": [
          "dawnera:is_not_sleeping"
        ],
        "StartPanic": {
          "Conditions": [
            "dawnera:is_not_in_water"
          ],
          "Actions": [
            "dawnera:delay_sleep,150,300",
            "dawnera:play_action,ActionController,scream",
            "dawnera:stop_action,StateController"
          ]
        }
      },
      {
        "Priority": 1,
        "ID": "dawnera:avoid_low_health",
        "WalkSpeed": 1.25,
        "SprintSpeed": 1.25,
        "MaxDistance": 20
      },
      {
        "Priority": 1,
        "ID": "dawnera:panic_of_damage",
        "WalkSpeed": 1.25,
        "SprintSpeed": 1.25,
        "CanUse": [
          "dawnera:is_baby"
        ]
      },
      {
        "Priority": 2,
        "ID": "dawnera:breed_pregnancy",
        "Speed": 0.8
      },
      {
        "Priority": 2,
        "ID": "dawnera:lay_egg",
        "Speed": 0.8,
        "EggBlock": "dawnera:struthiomimus_eggs",
        "PositionChooser": "LAND"
      },
      {
        "Priority": 3,
        "ID": "dawnera:melee_attack",
        "Speed": 1.25,
        "MeleeRange": 2.0,
        "ShouldSeeTarget": false,
        "CanUse": [
          "dawnera:is_not_sleeping",
          "dawnera:is_grown_up"
        ],
        "PerformAttack": {
          "Conditions": [
            "dawnera:is_no_action"
          ],
          "Actions": [
            "dawnera:focus_on_target",
            "dawnera:play_action,ActionController,attack"
          ]
        }
      },
      {
        "Priority": 3,
        "ID": "dawnera:follow_owner",
        "Speed": 1.25,
        "StartFollowDistance": 5,
        "StopFollowDistance": 3,
        "TeleportDistance": 10,
        "CanFly": false
      },
      {
        "Priority": 4,
        "ID": "dawnera:eat_food",
        "Speed": 0.8,
        "HorizontalDistance": 10,
        "VerticalDistance": 3,
        "MaxItemCountCanEat": 1,
        "CanUse": [
          "dawnera:is_no_action",
          "dawnera:is_not_sleeping_or_resting",
          "dawnera:is_not_in_water"
        ],
        "ShouldCanBeUsedToContinue": true,
        "FoodEat": {
          "Actions": [
            "dawnera:play_action,ActionController,eat"
          ]
        }
      },
      {
        "Priority": 4,
        "ID": "dawnera:follow_parent",
        "Speed": 1.25,
        "VisibilityDistance": 10,
        "AcceptableDistance": 6
      },
      {
        "Priority": 4,
        "ID": "dawnera:follow_entity",
        "Speed": 0.8,
        "VisibilityDistance": 32,
        "AcceptableDistance": 10,
        "CanUse": [
          "dawnera:is_not_tamed",
          "dawnera:is_not_sleeping"
        ],
        "CanContinueUse": [
          "dawnera:is_not_tamed",
          "dawnera:is_not_sleeping"
        ],
        "TargetConditions": [
          "dawnera:is_entity_type,dawnera:psittacosaurus"
        ]
      },
      {
        "Priority": 5,
        "ID": "dawnera:look_around"
      },
      {
        "Priority": 6,
        "ID": "dawnera:random_stroll",
        "Speed": 0.8,
        "PositionChooser": "LAND"
      }
    ]
  },
  "StateMachine": [
    {
      "ID": "ActionController",
      "Actions": [
        {
          "ID": "attack",
          "Length": 0.76
        },
        {
          "ID": "scream",
          "Length": 1.84
        },
        {
          "ID": "down",
          "Length": 0.72
        },
        {
          "ID": "fall_asleep",
          "Length": 0.96
        },
        {
          "ID": "wake_up",
          "Length": 0.8
        },
        {
          "ID": "up",
          "Length": 1.08
        },
        {
          "ID": "eat",
          "Length": 1.6
        }
      ]
    },
    {
      "ID": "StateController",
      "Actions": [
        {
          "ID": "rest"
        },
        {
          "ID": "sleep"
        }
      ]
    }
  ],
  "FoodRation": {
    "Items": [
      {
        "ID": "dawnera:worm"
      },
      {
        "Tag": "dawnera:fruit_food"
      },
      {
        "Tag": "dawnera:meat_food"
      }
    ],
    "Entities": [
      {
        "ID": "dawnera:worm"
      },
      {
        "ID": "dawnera:pond_snail"
      },
      {
        "ID": "minecraft:chicken"
      },
      {
        "ID": "minecraft:rabbit"
      },
      {
        "ID": "minecraft:frog"
      }
    ]
  },
  "MobSchedule": {
    "Conditions": [
      "dawnera:is_alive",
      "dawnera:is_on_ground",
      "dawnera:has_no_target",
      "dawnera:has_no_panic"
    ],
    "Tasks": [
      {
        "Start": "21:00",
        "End": "21:10",
        "Actions": [
          "dawnera:lie_down"
        ]
      },
      {
        "Start": "21:10",
        "End": "05:40",
        "Actions": [
          "dawnera:sleep"
        ]
      },
      {
        "Start": "05:40",
        "End": "06:00",
        "Actions": [
          "dawnera:wake_up"
        ]
      },
      {
        "Start": "06:00",
        "End": "21:00",
        "Actions": [
          "dawnera:stand_up"
        ]
      }
    ]
  }
}