Removed minecraft.behavior
This commit is contained in:
37
source/behavior/entities/format/behaviors/snacking.json
Normal file
37
source/behavior/entities/format/behaviors/snacking.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$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",
|
||||
"default":,
|
||||
"description": "This is the chance that the mob will stop snacking, from 0 to 1",
|
||||
"title": "Snacking Stop Chance"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user