{ "$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/descriptor.json", "title": "Item" } }, { "$ref": "../../../../general/item/descriptor.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" } }, "examples": [ { "snacking_cooldown": 7.5, "snacking_cooldown_min": 0.5, "snacking_stop_chance": 0.0 } ] }