{
  "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.tempt",
  "description": "Allows the mob to be tempted by food they like.",
  "type": "object",
  "title": "Tempt 1.8.0",
  "additionalProperties": false,
  "required": [],
  "properties": {
    "priority": { "$ref": "types/priority.json" },
    "speed_multiplier": { "$ref": "types/speed_multiplier.json" },
    "can_get_scared": {
      "type": "boolean",
      "default": false,
      "description": "If true, the mob can stop being tempted if the player moves too fast while close to this mob",
      "title": "Can Get Scared"
    },
    "can_tempt_while_ridden": {
      "type": "boolean",
      "title": "Can Tempt While Ridden",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED"
    },
    "items": {
      "type": "array",
      "description": "List of items this mob is tempted by",
      "items": { "$ref": "../../../../general/item/identifier.json", "title": "Item" },
      "title": "Items"
    },
    "within_radius": {
      "type": "number",
      "default": 0,
      "description": "Distance in blocks this mob can get tempted by a player holding an item they like",
      "title": "Within Radius"
    },
    "tempt_sound": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Tempt Sound" },
    "sound_interval": {
      "type": "object",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "title": "Sound Interval",
      "properties": {
        "range_min": { "type": "number", "description": "Minimum", "title": "Minimum" },
        "range_max": { "type": "number", "description": "Maximum", "title": "Maximum" }
      },
      "additionalProperties": false
    }
  }
}
