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

34 lines
1.4 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_hover",
"description": "Allows the mob to hover around randomly, close to the surface",
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Random Hover 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
"hover_height": { "type": "array", "description": "UNDOCUMENTATED", "title": "Hover Height", "items": [{ "type": "number" }, { "type": "number" }] },
2020-11-01 17:22:42 +01:00
"interval": {
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "Interval"
},
"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": "number", "default": 0, "description": "Height in blocks to add to the selected target position", "title": "Y Offset" }
2020-11-01 17:22:42 +01:00
}
}