{
  "$id": "blockception.minecraft.behavior.entities.minecraft.behavior.stroll_towards_village",
  "description": "Allows the mob to move into a random location within a village within the search range.",
  "type": "object",
  "title": "Stroll Towards Village",
  "additionalProperties": false,
  "properties": {
    "priority": {
      "$ref": "types/priority.json"
    },
    "cooldown_time": {
      "type": "number",
      "default": 0,
      "description": "Time in seconds the mob has to wait before using the goal again.",
      "title": "Cooldown Time"
    },
    "goal_radius": {
      "type": "number",
      "default": 0.5,
      "description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
      "title": "Goal Radius"
    },
    "search_range": {
      "type": "integer",
      "default": 0,
      "description": "The distance in blocks to search for points inside villages. If <= 0, find the closest village regardless of distance.",
      "title": "Search Range"
    },
    "speed_multiplier": {
      "type": "number",
      "default": 1,
      "description": "Movement speed multiplier of the mob when using this AI Goal.",
      "title": "Speed Multiplier"
    },
    "start_chance": {
      "type": "number",
      "default": 0.1,
      "description": "This is the chance that the mob will start this goal, from 0 to 1.",
      "title": "Start Chance"
    }
  },
  "examples": [
    {
      "cooldown_time": 0,
      "goal_radius": 0.5,
      "search_range": 0,
      "speed_multiplier": 1,
      "start_chance": 0.1
    }
  ]
}
