33 lines
871 B
JSON
33 lines
871 B
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.bribeable",
|
|
"type": "object",
|
|
"title": "Bribeable",
|
|
"additionalProperties": false,
|
|
"description": "Specifies if/how a mob burns in daylight.",
|
|
"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/identifier.json",
|
|
"title": "Bribe Items"
|
|
},
|
|
"title": "Bribe Items"
|
|
}
|
|
},
|
|
"examples": [
|
|
{
|
|
"bribe_cooldown": 2,
|
|
"bribe_items": []
|
|
}
|
|
]
|
|
}
|