Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/bribeable.json

33 lines
891 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.bribeable",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Bribeable",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"description": "Defines the way an entity can get into the 'bribed' state.",
2021-10-08 12:59:03 +02:00
"required": [],
"properties": {
"bribe_cooldown": {
"type": "number",
"default": 2,
2022-07-22 19:41:04 +02:00
"description": "Time in seconds before the Entity can be bribed again.",
2021-10-08 12:59:03 +02:00
"title": "Bribe Cooldown"
},
"bribe_items": {
"type": "array",
2022-07-22 19:41:04 +02:00
"description": "The list of items that can be used to bribe the entity.",
2021-10-08 12:59:03 +02:00
"items": {
2022-07-22 19:41:04 +02:00
"description": "An item that can be used to bribe the entity.",
2021-10-08 12:59:03 +02:00
"$ref": "../../../../general/item/identifier.json",
"title": "Bribe Items"
},
"title": "Bribe Items"
}
2021-10-11 18:10:42 +02:00
},
"examples": [
{
"bribe_cooldown": 2,
"bribe_items": []
}
]
2021-10-08 12:59:03 +02:00
}