Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/beg.json

45 lines
1.2 KiB
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.behavior.beg",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Beg",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"description": "Allows this mob to look at and follow the player that holds food they like.",
"required": [],
"properties": {
2021-10-11 18:13:12 +02:00
"priority": {
"$ref": "./types/priority.json"
},
2021-10-08 12:59:03 +02:00
"items": {
"type": "array",
"description": "List of items that this mob likes",
"items": {
"type": "string",
"description": "List of items that this mob likes",
"title": "Properties",
"$ref": "../../../../general/item/identifier.json"
},
"title": "Properties"
},
2021-10-11 18:13:12 +02:00
"look_distance": {
"type": "number",
"default": 8,
"description": "Distance in blocks the mob will beg from",
"title": "Look Distance"
},
2021-10-08 12:59:03 +02:00
"look_time": {
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it",
"$ref": "../types/range_number_type.json",
2021-10-11 18:13:12 +02:00
"default": [
2,
4
],
2021-10-08 12:59:03 +02:00
"title": "Look Time"
}
2021-10-11 18:13:12 +02:00
},
"examples": [
{
"items": [],
"look_distance": 8
}
]
}