{
  "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.giveable",
  "additionalProperties": false,
  "description": "Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.",
  "type": "object",
  "title": "Giveable 1.8.0",
  "required": [],
  "properties": {
    "cooldown": {
      "type": "number",
      "default": 0,
      "description": "An optional cool down in seconds to prevent spamming interactions.",
      "title": "Cooldown"
    },
    "items": {
      "type": "array",
      "description": "The list of items that can be given to the entity to place in their inventory.",
      "items": {
        "description": "An items that can be given to the entity to place in their inventory.",
        "$ref": "../../../../general/item/identifier.json",
        "title": "Properties"
      },
      "title": "Properties"
    },
    "on_give": { "type": "string", "default": 0, "description": "Event to fire when the correct item is given.", "title": "On Give" }
  }
}
