Added drink milk

This commit is contained in:
DaanV2
2022-07-20 21:00:35 +02:00
parent 6bafd9c899
commit 155ff2bcef
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.drink_milk",
"type": "object",
"title": "Drink Milk",
"description": "Allows the mob to drink milk based on specified environment conditions.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "./types/priority.json" },
"cooldown_seconds": {
"title": "Cooldown Seconds",
"type": "number",
"default": 5.0,
"description": "Time (in seconds) that the goal is on cooldown before it can be used again."
},
"filters": {
"title": "Filters",
"$ref": "../../filters/filters.json",
"description": "Conditions that need to be met for the behavior to start."
}
},
"examples": [
{
"cooldown_seconds": 5.0
}
]
}