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

34 lines
1.3 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.random_fly",
"description": "Allows a mob to randomly fly around",
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Random Fly 1.16.0",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"required": [],
"properties": {
2021-01-27 00:52:47 +01:00
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
2021-03-21 15:18:38 +01:00
"avoid_damage_blocks": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
2020-11-01 17:22:42 +01:00
"can_land_on_trees": {
"type": "boolean",
"default": true,
"description": "If true, the mob can stop flying and land on a tree instead of the ground",
2021-03-21 15:18:38 +01:00
"title": "Can Land On Trees"
2020-11-01 17:22:42 +01:00
},
"xz_dist": {
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
2021-03-21 15:18:38 +01:00
"title": "Xz Dist"
2020-11-01 17:22:42 +01:00
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
2021-03-21 15:18:38 +01:00
"title": "Y Dist"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"y_offset": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
2020-11-01 17:22:42 +01:00
}
}