* Add item_descriptor and use it in acceptable places * Rename descriptor * Fix refs * Fix refs * Add descriptor to 3 more components
33 lines
891 B
JSON
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": []
|
|
}
|
|
]
|
|
}
|