{
  "$id": "blockception.minecraft.behavior.entities.minecraft.behavior.find_mount",
  "additionalProperties": false,
  "description": "Allows the mob to look around for another mob to ride atop it.",
  "title": "Find Mount",
  "type": "object",
  "properties": {
    "priority": {
      "$ref": "types/priority.json"
    },
    "avoid_water": {
      "title": "Avoid Water",
      "type": "boolean",
      "default": false,
      "description": "If true, the mob will not go into water blocks when going towards a mount."
    },
    "mount_distance": {
      "type": "number",
      "title": "Mount Distance",
      "default": -1,
      "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"
    },
    "start_delay": {
      "title": "Start Delay",
      "type": "integer",
      "default": 0,
      "description": "Time the mob will wait before starting to move towards the mount."
    },
    "target_needed": {
      "title": "Target Needed",
      "type": "boolean",
      "default": false,
      "description": "If true, the mob will only look for a mount if it has a target."
    },
    "within_radius": {
      "title": "Within Radius",
      "type": "number",
      "default": 0,
      "description": "Distance in blocks within which the mob will look for a mount."
    },
    "max_failed_attempts": {
      "title": "Maximum Failed Attempts",
      "type": "integer",
      "description": "The number of failed attempts to make before this goal is no longer used.",
      "$comment": "UNDOCUMENTED"
    }
  },
  "examples": [
    {
      "avoid_water": false,
      "mount_distance": -1,
      "start_delay": 0,
      "target_needed": false,
      "within_radius": 0,
      "max_failed_attempts": 0
    }
  ]
}
