{
  "$id": "blockception.minecraft.behavior.spawn_rules.minecraft.difficulty_filter",
  "additionalProperties": false,
  "type": "object",
  "title": "Difficulty Filter",
  "description": "This component allows players to set mobs spawn at certain difficulty levels. The min is for Peaceful difficulty and the max is for Hard difficulty.",
  "definitions": { "difficulty": { "type": "string", "enum": ["easy", "normal", "hard", "peaceful"] } },
  "properties": {
    "min": {
      "$ref": "#/definitions/difficulty",
      "description": "This is the minimum difficulty level that a mob spawns.",
      "title": "Min"
    },
    "max": {
      "$ref": "#/definitions/difficulty",
      "description": "This is the maximum difficulty level that a mob spawns.",
      "title": "Max"
    }
  }
}
