Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/bribeable.json
Piotr Brzozowski dcd9877aa7 Add item_descriptor and use it in acceptable places (#115)
* Add item_descriptor and use it in acceptable places

* Rename descriptor

* Fix refs

* Fix refs

* Add descriptor to 3 more components
2022-10-01 19:34:08 +02:00

33 lines
891 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.bribeable",
"type": "object",
"title": "Bribeable",
"additionalProperties": false,
"description": "Defines the way an entity can get into the 'bribed' state.",
"required": [],
"properties": {
"bribe_cooldown": {
"type": "number",
"default": 2,
"description": "Time in seconds before the Entity can be bribed again.",
"title": "Bribe Cooldown"
},
"bribe_items": {
"type": "array",
"description": "The list of items that can be used to bribe the entity.",
"items": {
"description": "An item that can be used to bribe the entity.",
"$ref": "../../../../general/item/descriptor.json",
"title": "Bribe Items"
},
"title": "Bribe Items"
}
},
"examples": [
{
"bribe_cooldown": 2,
"bribe_items": []
}
]
}