{
  "fields": [
    {
      "id": "elder_extra_magic_damage",
      "title": "Elder Extra Magic Damage",
      "description": "Amount of additional damage dealt from an elder guardian's magic attack.",
      "defaultValue": 2,
      "dataType": 0
    },
    {
      "id": "hard_mode_extra_magic_damage",
      "title": "Hard Mode Extra Magic Damage",
      "description": "In hard difficulty, amount of additional damage dealt from a guardian's magic attack.",
      "defaultValue": 2,
      "dataType": 0
    },
    {
      "id": "magic_damage",
      "title": "Magic Damage",
      "description": "Amount of damage dealt from a guardian's magic attack. Magic attack damage is added to the guardian's base attack damage.",
      "defaultValue": 1,
      "dataType": 0
    },
    {
      "id": "min_distance",
      "title": "Min Distance",
      "description": "Guardian attack behavior stops if the target is closer than this distance (doesn't apply to elders).",
      "defaultValue": 3,
      "dataType": 3
    },
    {
      "id": "sound_delay_time",
      "title": "Sound Delay Time",
      "description": "Time (in seconds) to wait after starting an attack before playing the guardian attack sound.",
      "defaultValue": 0.5,
      "dataType": 3
    },
    {
      "id": "x_max_rotation",
      "title": "X Max Rotation",
      "description": "Maximum rotation (in degrees), on the X-axis, this entity can rotate while trying to look at the target.",
      "defaultValue": 90,
      "dataType": 3
    },
    {
      "id": "y_max_head_rotation",
      "title": "Y Max Head Rotation",
      "description": "Maximum rotation (in degrees), on the Y-axis, this entity can rotate its head while trying to look at the target.",
      "defaultValue": 90,
      "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/elder_guardian.json": [
          {
            "path": "/minecraft:entity/components/minecraft:behavior.guardian_attack/",
            "content": 4
          }
        ]
      }
    }
  ],
  "description": "Allows this entity to use a laser beam attack. Can only be used by Guardians and Elder Guardians.",
  "title": "Guardian Attack Behavior",
  "samples": {
    "/vanilla/behavior_pack/entities/elder_guardian.json": [
      {
        "path": "/minecraft:entity/components/minecraft:behavior.guardian_attack/",
        "content": {
          "priority": 4
        }
      }
    ]
  },
  "id": "minecraft:behavior.guardian_attack"
}