{
  "$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.avoid_block",
  "type": "object",
  "title": "Avoid Block 1.16.0",
  "description": "UNDOCUMENTED",
  "$comment": "UNDOCUMENTED",
  "additionalProperties": false,
  "properties": {
    "priority": { "$ref": "types/priority.json" },
    "tick_interval": {
      "type": "integer",
      "title": "Tick Interval",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED"
    },
    "search_range": {
      "type": "integer",
      "title": "Search Range",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED"
    },
    "search_height": {
      "type": "integer",
      "title": "Search Height",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED"
    },
    "sprint_speed_modifier": {
      "type": "number",
      "title": "Sprint Speed Modifier",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED"
    },
    "target_selection_method": {
      "type": "string",
      "title": "Target Selection Method",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED"
    },
    "target_blocks": {
      "type": "array",
      "title": "Target Blocks",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "items": { "type": "string", "title": "Block ID", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
    },
    "avoid_block_sound": {
      "type": "string",
      "title": "Avoid Block Sound",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED"
    },
    "walk_speed_modifier": {
      "type": "number",
      "title": "Walk Speed Modifier",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED"
    },
    "on_escape": {
      "type": "array",
      "title": "Walk Speed Modifier",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "items": { "$ref": "../types/event.json" }
    },
    "sound_interval": {
      "default": 0,
      "description": "The range of time in seconds to randomly wait before playing the sound again.",
      "title": "Sound Interval",
      "oneOf": [
        {
          "type": "array",
          "items": [
            { "type": "number", "title": "Maximum" },
            { "type": "number", "title": "Maximum" }
          ]
        },
        { "type": "number" },
        { "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
      ]
    }
  }
}
