Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/beg.json
2021-10-08 13:17:37 +02:00

30 lines
1.0 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.beg",
"type": "object",
"title": "Beg",
"additionalProperties": false,
"description": "Allows this mob to look at and follow the player that holds food they like.",
"required": [],
"properties": {
"priority": { "$ref": "./types/priority.json" },
"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"
},
"look_distance": { "type": "number", "default": 8, "description": "Distance in blocks the mob will beg from", "title": "Look Distance" },
"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",
"default": [2, 4],
"title": "Look Time"
}
}
}