{
  "fields": [
    {
      "id": "cooldown_time",
      "title": "Cooldown Time",
      "description": "Time (in seconds) between each start of the cycle to roar, then breath flame.",
      "defaultValue": 10,
      "dataType": 3
    },
    {
      "id": "flame_time",
      "title": "Flame Time",
      "description": "Time (in seconds), after roar, to breath flame.",
      "defaultValue": 0.5,
      "dataType": 3
    },
    {
      "id": "ground_flame_count",
      "title": "Ground Flame Count",
      "description": "Number of ground flame-breath attacks to use before flight-takeoff.",
      "defaultValue": 4,
      "dataType": 0
    },
    {
      "id": "roar_time",
      "title": "Roar Time",
      "description": "Time (in seconds) to roar, before breathing flame.",
      "defaultValue": 2,
      "dataType": 3
    },
    {
      "id": "priority",
      "title": "Priority",
      "hideSamples": true,
      "description": "As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal.",
      "dataType": 0,
      "samples": {
        "/vanilla/behavior_pack/entities/ender_dragon.json": [
          {
            "path": "/minecraft:entity/component_groups/dragon_sitting/minecraft:behavior.dragonflaming/",
            "content": 1
          }
        ]
      }
    }
  ],
  "restrictions": [
    {
      "id": "minecraft:ender_dragon",
      "type": "entity_type"
    }
  ],
  "description": "Allows this entity to use a flame-breath attack.",
  "title": "Dragonflaming Behavior",
  "samples": {
    "/vanilla/behavior_pack/entities/ender_dragon.json": [
      {
        "path": "/minecraft:entity/component_groups/dragon_sitting/minecraft:behavior.dragonflaming/",
        "content": {
          "priority": 1
        }
      }
    ]
  },
  "id": "minecraft:behavior.dragonflaming"
}