1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-11 01:20:51 +00:00
Files
bedrock-samples/metadata/json_schemas/server/entity/1.21.110/SwimUpForBreathGoalDefinition.json
2025-09-09 10:02:11 -07:00

42 lines
1.6 KiB
JSON

{
"$id": "2291122496",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Allows the mob to try to move to air once it is close to running out of its total breathable supply. Requires \"minecraft:breathable\".",
"properties": {
"control_flags": {
"items": {
"enum": [
"move",
"look",
"jump"
],
"title": "Goal's control flags",
"type": "string"
},
"type": "array"
},
"material_type": {
"description": "The material the mob is traveling in. An air block will only be considered valid to move to with a block of this material below it. Options are: \"water\", \"lava\", or \"any\". Default value: water.",
"type": "string"
},
"priority": {
"minimum": 0,
"type": "integer"
},
"search_height": {
"description": "The height (in blocks) above the mob's current position that it will search for a valid air block to move to. If a valid block cannot be found, the mob will move to the position this many blocks above it. Default value: 16.",
"type": "integer"
},
"search_radius": {
"description": "The radius (in blocks) around the mob's current position that it will search for a valid air block to move to. Default value: 4.",
"type": "integer"
},
"speed_mod": {
"description": "Movement speed multiplier of the mob when using this Goal. Default value: 1.4.",
"type": "number"
}
},
"title": "minecraft:behavior.swim_up_for_breath",
"type": "object",
"x-format-version": "1.21.110"
}