{
  "$id": "blockception.minecraft.behavior.entities.type.entity_types",
  "title": "Entity Types",
  "definitions": {
    "entity_definition": {
      "description": "The entity type.",
      "title": "Entity Type",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "filters": { "$ref": "../../filters/filters.json" },
        "cooldown": {
          "title": "Cooldown",
          "description": "The amount of time in seconds that the mob has to wait before selecting a target of the same type again",
          "default": 0.0,
          "type": "number"
        },
        "max_dist": {
          "type": "number",
          "description": "Maximum distance this mob can be away to be a valid choice.",
          "default": 16,
          "title": "Maximum Dist"
        },
        "max_height": {
          "type": "number",
          "description": "UNDOCUMENTED.",
          "title": "Maximum Height"
        },
        "max_flee": {
          "type": "number",
          "description": "UNDOCUMENTED.",
          "title": "Maximum Height"
        },
        "priority": {
          "type": "number",
          "description": "UNDOCUMENTED.",
          "title": "Priority"
        },
        "within_default": {
          "type": "number",
          "description": "UNDOCUMENTED.",
          "title": "Within Default"
        },
        "check_if_outnumbered": {
          "type": "boolean",
          "description": "UNDOCUMENTED.",
          "title": "Check If Outnumbered"
        },
        "must_see": {
          "type": "boolean",
          "description": "If true, the mob has to be visible to be a valid choice.",
          "default": false,
          "title": "Must See"
        },
        "must_see_forget_duration": {
          "type": "number",
          "description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more.",
          "default": 3,
          "title": "Must See Forget Duration"
        },
        "reevaluate_description": {
          "title": "Reevaluate Description",
          "type": "boolean",
          "default": false,
          "description": "If true, the mob will stop being targeted if it stops meeting any conditions."
        },
        "sprint_speed_multiplier": {
          "type": "number",
          "description": "Multiplier for the running speed. A value of 1.0 means the speed is unchanged",
          "default": 16,
          "title": "Sprint Speed Multiplier"
        },
        "walk_speed_multiplier": {
          "type": "number",
          "description": "Multiplier for the walking speed. A value of 1.0 means the speed is unchanged",
          "default": 16,
          "title": "Walk Speed Multiplier"
        }
      }
    }
  },
  "oneOf": [{ "type": "array", "items": { "$ref": "#/definitions/entity_definition" } }, { "$ref": "#/definitions/entity_definition" }]
}
