{
  "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.jump_to_block",
  "type": "object",
  "title": "Melee Attack 1.8.0",
  "description": "Allows the mob to search around for a block to jump to and then jump to that block.",
  "additionalProperties": false,
  "required": [],
  "properties": {
    "priority": { "$ref": "./types/priority.json" },
    "search_width": {
      "type": "integer",
      "title": "Search Width",
      "default": 8,
      "description": "The maximum width in blocks that the mob will search. Range [2, 15]."
    },
    "search_height": {
      "type": "integer",
      "default": 10,
      "title": "Search Height",
      "description": "The maximum height in blocks that the mob will search. Range [2, 15]."
    },
    "minimum_path_length": {
      "type": "integer",
      "default": 5,
      "title": "Minimum Path Length",
      "description": "The minimum length in blocks of the mob's path to a block in order to consider jumping to it."
    },
    "minimum_distance": {
      "type": "number",
      "default": 5,
      "title": "Minimum Distance",
      "description": "The minimum distance in blocks from the mob to a block in order to consider jumping to it."
    },
    "scale_factor": {
      "type": "number",
      "title": "Scale Factor",
      "default": 0.7,
      "description": "The scale factor of the bounding box of the mob while it is jumping."
    },
    "cooldown_range": {
      "title": "Cooldown Range",
      "description": "The minimum and maximum cooldown time-range in seconds between each attempted jump.",
      "type": "array",
      "items": [
        { "title": "Minimum", "description": "Minimum", "type": "integer", "minimum": 0 },
        { "title": "Maximum", "description": "Maximum", "type": "integer", "minimum": 0 }
      ]
    }
  }
}
