{
  "$id": "blockception.minecraft.behavior.entities.minecraft.behavior.fertilize_farm_block",
  "type": "object",
  "title": "Fertilize Farm Block",
  "description": "Allows the mob to search within an area for a growable crop block. If found, the mob will use any available fertilizer in their inventory on the crop. This goal will not execute if the mob does not have a fertilizer item in its inventory.",
  "additionalProperties": false,
  "properties": {
    "priority": { "$ref": "types/priority.json" },
    "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
    "goal_radius": {
      "title": "Goal Radius",
      "type": "number",
      "default": 1.5,
      "description": "Distance in blocks within the mob considers it has reached it's target position."
    },
    "max_fertilizer_usage": {
      "title": "Maximum Fertilizer Usage",
      "type": "integer",
      "default": 1,
      "description": "The maximum number of times the mob will use fertilzer on the target block."
    },
    "search_cooldown_max_seconds": {
      "title": "Search Cooldown Maximum Seconds",
      "type": "number",
      "default": 8.0,
      "description": "The maximum amount of time in seconds that the goal can take before searching again. The time is chosen between 0 and this number."
    },
    "search_count": {
      "title": "Search Count",
      "type": "integer",
      "default": 9,
      "description": "The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick."
    },
    "search_height": {
      "title": "Search Height",
      "type": "integer",
      "default": 1,
      "description": "The Height in blocks the mob will search within to find a valid target position."
    },
    "search_range": {
      "title": "Search Range",
      "type": "integer",
      "default": 1,
      "description": "The distance in blocks the mob will search within to find a valid target position."
    }
  },
  "examples": [
    {
      "cooldown_time": 0
    }
  ]
}
