Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.16.0/behaviors/minecraft.behavior.drink_potion.json

38 lines
1.5 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.drink_potion",
"type": "object",
2021-01-27 01:06:07 +01:00
"title": "Beg 1.16.0",
2020-11-01 17:22:42 +01:00
"description": "Allows the mob to drink potions based on specified environment conditions.",
"additionalProperties": false,
"required": [],
"properties": {
2020-12-12 00:09:25 +01:00
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
2021-03-21 15:18:38 +01:00
"speed_modifier": { "default": 0.0, "description": "TODO description: speed modifier", "title": "Speed Modifier" },
2020-11-01 17:22:42 +01:00
"potions": {
"type": "array",
"description": "A list of potions that this entity can drink.",
"items": {
"required": ["id", "chance", "filters"],
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
2020-11-01 17:22:42 +01:00
"chance": {
"type": "number",
"default": 1.0,
"minimum": 0,
"maximum": 1,
"description": "The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.",
"title": "Chance"
},
2021-03-21 15:18:38 +01:00
"filters": { "description": "The filters to use when determining if this potion can be selected.", "$ref": "../filters.json", "title": "Filters" }
2020-11-01 17:22:42 +01:00
},
"description": "TODO description: potions",
"title": "Potions"
},
"title": "Potions"
}
}
}