{
  "fields": [
    {
      "id": "avoid_water",
      "title": "Avoid Water",
      "description": "If true, the mob will not go into water blocks when going towards a mount",
      "defaultValue": false,
      "dataType": 1,
      "samples": {
        "/vanilla/behavior_pack/entities/parrot.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:parrot_tame/minecraft:behavior.find_mount/",
            "content": true
          }
        ]
      }
    },
    {
      "id": "mount_distance",
      "title": "Mount Distance",
      "description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance",
      "defaultValue": -1,
      "dataType": 3,
      "samples": {
        "/vanilla/behavior_pack/entities/parrot.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:parrot_tame/minecraft:behavior.find_mount/",
            "content": 2
          }
        ]
      }
    },
    {
      "id": "start_delay",
      "title": "Start Delay",
      "description": "Time the mob will wait before starting to move towards the mount",
      "defaultValue": 0,
      "dataType": 0,
      "samples": {
        "/vanilla/behavior_pack/entities/parrot.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:parrot_tame/minecraft:behavior.find_mount/",
            "content": 100
          }
        ],
        "/vanilla/behavior_pack/entities/piglin.json": [
          {
            "path": "/minecraft:entity/component_groups/piglin_jockey/minecraft:behavior.find_mount/",
            "content": 15
          }
        ],
        "/vanilla/behavior_pack/entities/zombie.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:zombie_jockey/minecraft:behavior.find_mount/",
            "content": 15
          }
        ]
      }
    },
    {
      "id": "target_needed",
      "title": "Target Needed",
      "description": "If true, the mob will only look for a mount if it has a target",
      "defaultValue": false,
      "dataType": 1
    },
    {
      "id": "within_radius",
      "title": "Within Radius",
      "description": "Distance in blocks within which the mob will look for a mount",
      "defaultValue": 0,
      "dataType": 3,
      "samples": {
        "/vanilla/behavior_pack/entities/husk.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:zombie_husk_jockey/minecraft:behavior.find_mount/",
            "content": 16
          }
        ],
        "/vanilla/behavior_pack/entities/parrot.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:parrot_tame/minecraft:behavior.find_mount/",
            "content": 16
          }
        ]
      }
    },
    {
      "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/husk.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:zombie_husk_jockey/minecraft:behavior.find_mount/",
            "content": 1
          }
        ],
        "/vanilla/behavior_pack/entities/parrot.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:parrot_tame/minecraft:behavior.find_mount/",
            "content": 4
          }
        ],
        "/vanilla/behavior_pack/entities/piglin.json": [
          {
            "path": "/minecraft:entity/component_groups/piglin_jockey/minecraft:behavior.find_mount/",
            "content": 1
          }
        ]
      }
    },
    {
      "id": "max_failed_attempts",
      "title": "Max Failed Attempts",
      "dataType": 7,
      "samples": {
        "/vanilla/behavior_pack/entities/piglin.json": [
          {
            "path": "/minecraft:entity/component_groups/piglin_jockey/minecraft:behavior.find_mount/",
            "content": 20
          }
        ],
        "/vanilla/behavior_pack/entities/zombie.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:zombie_jockey/minecraft:behavior.find_mount/",
            "content": 20
          }
        ]
      }
    }
  ],
  "description": "Allows the mob to look around for another mob to ride atop it.",
  "title": "Find Mount Behavior",
  "samples": {
    "/vanilla/behavior_pack/entities/husk.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:zombie_husk_jockey/minecraft:behavior.find_mount/",
        "content": {
          "priority": 1,
          "within_radius": 16
        }
      }
    ],
    "/vanilla/behavior_pack/entities/parrot.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:parrot_tame/minecraft:behavior.find_mount/",
        "content": {
          "priority": 4,
          "within_radius": 16,
          "avoid_water": true,
          "start_delay": 100,
          "target_needed": false,
          "mount_distance": 2
        }
      }
    ],
    "/vanilla/behavior_pack/entities/piglin.json": [
      {
        "path": "/minecraft:entity/component_groups/piglin_jockey/minecraft:behavior.find_mount/",
        "content": {
          "priority": 1,
          "within_radius": 16,
          "start_delay": 15,
          "max_failed_attempts": 20
        }
      }
    ],
    "/vanilla/behavior_pack/entities/zombie_villager_v2.json": [
      {
        "path": "/minecraft:entity/component_groups/jockey/minecraft:behavior.find_mount/",
        "content": {
          "priority": 1,
          "within_radius": 16
        }
      }
    ],
    "/vanilla/behavior_pack/entities/zombie_villager.json": [
      {
        "path": "/minecraft:entity/component_groups/jockey/minecraft:behavior.find_mount/",
        "content": {
          "priority": 1,
          "within_radius": 16
        }
      }
    ],
    "/vanilla/behavior_pack/entities/zombie.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:zombie_jockey/minecraft:behavior.find_mount/",
        "content": {
          "priority": 1,
          "within_radius": 16,
          "start_delay": 15,
          "max_failed_attempts": 20
        }
      }
    ]
  },
  "id": "minecraft:behavior.find_mount"
}