{
  "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.preferred_path",
  "type": "object",
  "title": "Preferred Path 1.8.0",
  "description": "Specifies costing information for mobs that prefer to walk on preferred paths.",
  "additionalProperties": false,
  "required": ["preferred_path_blocks"],
  "properties": {
    "default_block_cost": { "type": "number", "default": 0, "description": "Cost for non-preferred blocks", "title": "Default Block Cost" },
    "jump_cost": { "type": "integer", "default": 0, "description": "Added cost for jumping up a node", "title": "Jump Cost" },
    "max_fall_blocks": {
      "type": "integer",
      "default": 3,
      "description": "Distance mob can fall without taking damage",
      "title": "Maximum Fall Blocks"
    },
    "preferred_path_blocks": {
      "type": "array",
      "title": "Preferred Path Blocks",
      "description": "A list of blocks with their associated cost",
      "items": {
        "additionalProperties": false,
        "type": "object",
        "description": "Blocks cost",
        "properties": { "cost": { "type": "number" }, "blocks": { "type": "array", "items": { "$ref": "../../../../general/blocks_item.json" } } }
      }
    }
  }
}
