{
  "fields": [
    {
      "id": "cast_duration",
      "title": "Cast Duration",
      "description": "Time in seconds for the entire event sending process",
      "dataType": 3
    },
    {
      "id": "look_at_target",
      "title": "Look At Target",
      "description": "If true, the mob will face the entity it sends an event to",
      "defaultValue": true,
      "dataType": 1
    },
    {
      "id": "sequence",
      "title": "Sequence",
      "description": "List of events to send",
      "dataType": 15,
      "subForm": {
        "description": "List of events to send",
        "fields": [
          {
            "id": "base_delay",
            "title": "Base Delay",
            "description": "Amount of time in seconds before starting this step",
            "defaultValue": 0,
            "dataType": 3
          },
          {
            "id": "event",
            "title": "Event",
            "description": "The event to send to the entity",
            "dataType": 22
          },
          {
            "id": "sound_event",
            "title": "Sound Event",
            "description": "The sound event to play when this step happens",
            "dataType": 22
          }
        ]
      }
    },
    {
      "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/evocation_illager.json": [
          {
            "path": "/minecraft:entity/components/minecraft:behavior.send_event/",
            "content": 3
          }
        ]
      }
    },
    {
      "id": "event_choices",
      "title": "Event Choices",
      "dataType": 15,
      "subForm": {
        "id": "event_choices",
        "title": "Event_choices",
        "fields": [
          {
            "id": "min_activation_range",
            "title": "Min_activation_range",
            "dataType": 7,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "min_activation_range",
                  "content": 0
                }
              ]
            }
          },
          {
            "id": "max_activation_range",
            "title": "Max_activation_range",
            "dataType": 7,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "max_activation_range",
                  "content": 16
                }
              ]
            }
          },
          {
            "id": "cooldown_time",
            "title": "Cooldown_time",
            "dataType": 7,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "cooldown_time",
                  "content": 5
                }
              ]
            }
          },
          {
            "id": "cast_duration",
            "title": "Cast_duration",
            "dataType": 7,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "cast_duration",
                  "content": 3
                }
              ]
            }
          },
          {
            "id": "particle_color",
            "title": "Particle_color",
            "dataType": 2,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "particle_color",
                  "content": "#FFB38033"
                }
              ]
            }
          },
          {
            "id": "weight",
            "title": "Weight",
            "dataType": 7,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "weight",
                  "content": 3
                }
              ]
            }
          },
          {
            "id": "filters",
            "title": "Filters",
            "dataType": 2,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "filters",
                  "content": {
                    "all_of": [
                      {
                        "test": "is_family",
                        "subject": "other",
                        "value": "sheep"
                      },
                      {
                        "test": "is_color",
                        "subject": "other",
                        "value": "blue"
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "id": "start_sound_event",
            "title": "Start_sound_event",
            "dataType": 2,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "start_sound_event",
                  "content": "cast.spell"
                }
              ]
            }
          },
          {
            "id": "sequence",
            "title": "Sequence",
            "dataType": 2,
            "samples": {
              "/vanilla/behavior_pack/entities/evocation_illager.json": [
                {
                  "path": "sequence",
                  "content": [
                    {
                      "base_delay": 2,
                      "event": "wololo",
                      "sound_event": "prepare.wololo"
                    }
                  ]
                }
              ]
            }
          }
        ]
      },
      "samples": {
        "/vanilla/behavior_pack/entities/evocation_illager.json": [
          {
            "path": "/minecraft:entity/components/minecraft:behavior.send_event/",
            "content": [
              {
                "min_activation_range": 0,
                "max_activation_range": 16,
                "cooldown_time": 5,
                "cast_duration": 3,
                "particle_color": "#FFB38033",
                "weight": 3,
                "filters": {
                  "all_of": [
                    {
                      "test": "is_family",
                      "subject": "other",
                      "value": "sheep"
                    },
                    {
                      "test": "is_color",
                      "subject": "other",
                      "value": "blue"
                    }
                  ]
                },
                "start_sound_event": "cast.spell",
                "sequence": [
                  {
                    "base_delay": 2,
                    "event": "wololo",
                    "sound_event": "prepare.wololo"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ],
  "description": "Allows the mob to send an event to another mob.",
  "title": "Send Event Behavior",
  "samples": {
    "/vanilla/behavior_pack/entities/evocation_illager.json": [
      {
        "path": "/minecraft:entity/components/minecraft:behavior.send_event/",
        "content": {
          "priority": 3,
          "event_choices": [
            {
              "min_activation_range": 0,
              "max_activation_range": 16,
              "cooldown_time": 5,
              "cast_duration": 3,
              "particle_color": "#FFB38033",
              "weight": 3,
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject": "other",
                    "value": "sheep"
                  },
                  {
                    "test": "is_color",
                    "subject": "other",
                    "value": "blue"
                  }
                ]
              },
              "start_sound_event": "cast.spell",
              "sequence": [
                {
                  "base_delay": 2,
                  "event": "wololo",
                  "sound_event": "prepare.wololo"
                }
              ]
            }
          ]
        }
      }
    ]
  },
  "id": "minecraft:behavior.send_event"
}