{
  "$id": "blockception.minecraft.behavior.entities.minecraft.behavior.move_to_water",
  "type": "object",
  "title": "Move To Water",
  "additionalProperties": false,
  "description": "Allows the mob to move back into water when on land.",
  "required": [],
  "properties": {
    "priority": {
      "$ref": "./types/priority.json"
    },
    "speed_multiplier": {
      "$ref": "./types/speed_multiplier.json"
    },
    "search_range": {
      "type": "integer",
      "default": 0,
      "description": "The distance in blocks it will look for water to move towards.",
      "title": "Search Range"
    },
    "search_height": {
      "type": "integer",
      "default": 1,
      "description": "Height in blocks the mob will look for water to move towards.",
      "title": "Search Height"
    },
    "search_count": {
      "type": "integer",
      "default": 10,
      "description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
      "title": "Search Count"
    },
    "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"
    }
  },
  "examples": [
    {
      "search_range": 0,
      "search_height": 1,
      "search_count": 10,
      "goal_radius": 0.5
    }
  ]
}
