Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.8.0/behaviors/minecraft.behavior.drink_potion.json
2021-03-21 15:18:38 +01:00

38 lines
1.5 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.drink_potion",
"type": "object",
"title": "Beg 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"speed_modifier": { "default": 0.0, "description": "TODO description: speed modifier", "title": "Speed Modifier" },
"potions": {
"type": "array",
"description": "A list of potions that this entity can drink.",
"items": {
"required": ["id", "chance", "filters"],
"additionalProperties": false,
"properties": {
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
"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"
},
"filters": { "description": "The filters to use when determining if this potion can be selected.", "$ref": "../filters.json", "title": "Filters" }
},
"description": "TODO description: potions",
"title": "Potions"
},
"title": "Potions"
}
}
}