38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.snacking",
|
|
"additionalProperties": false,
|
|
"description": "Allows the mob to take a load off and snack on food that it found nearby.",
|
|
"type": "object",
|
|
"title": "Snacking",
|
|
"required": [],
|
|
"properties": {
|
|
"priority": { "$ref": "./types/priority.json" },
|
|
"items": {
|
|
"title": "Items",
|
|
"description": "Items that we are interested in snacking on",
|
|
"oneOf": [
|
|
{ "type": "array", "items": { "$ref": "../../../../general/item/identifier.json", "title": "Item" } },
|
|
{ "$ref": "../../../../general/item/identifier.json" }
|
|
]
|
|
},
|
|
"snacking_cooldown": {
|
|
"type": "number",
|
|
"default": 7.5,
|
|
"description": "The cooldown time in seconds before the mob is able to snack again",
|
|
"title": "Snacking Cooldown"
|
|
},
|
|
"snacking_cooldown_min": {
|
|
"type": "number",
|
|
"default": 0.5,
|
|
"description": "The minimum time in seconds before the mob is able to snack again",
|
|
"title": "Snacking Cooldown Minimum"
|
|
},
|
|
"snacking_stop_chance": {
|
|
"type": "number",
|
|
|
|
"description": "This is the chance that the mob will stop snacking, from 0 to 1",
|
|
"title": "Snacking Stop Chance"
|
|
}
|
|
}
|
|
}
|