Added drink milk
This commit is contained in:
26
source/behavior/entities/format/behaviors/drink_milk.json
Normal file
26
source/behavior/entities/format/behaviors/drink_milk.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -213,6 +213,7 @@
|
||||
"minecraft:behavior.dragonscanning": { "$ref": "./behaviors/dragonscanning.json" },
|
||||
"minecraft:behavior.dragonstrafeplayer": { "$ref": "./behaviors/dragonstrafeplayer.json" },
|
||||
"minecraft:behavior.dragontakeoff": { "$ref": "./behaviors/dragontakeoff.json" },
|
||||
"minecraft:behavior.drink_milk": { "$ref": "./behaviors/drink_milk.json" },
|
||||
"minecraft:behavior.drink_potion": { "$ref": "./behaviors/drink_potion.json" },
|
||||
"minecraft:behavior.drop_item_for": { "$ref": "./behaviors/drop_item_for.json" },
|
||||
"minecraft:behavior.eat_block": { "$ref": "./behaviors/eat_block.json" },
|
||||
|
||||
Reference in New Issue
Block a user