Files
minecraft-bedrock-json-schemas/behaviour/entities/1.8.0/behaviors/minecraft.behavior.float_wander.json
2020-12-12 00:09:25 +01:00

49 lines
1.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.float_wander",
"type": "object",
"title": "Behavior.float_wander 1.8.0",
"description": "Allows the mob to float around like the Ghast.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"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",
"title": "Xz Dist"
},
"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",
"title": "Y Dist"
},
"y_offset": {
"type": "number",
"default": 0.0,
"description": "Height in blocks to add to the selected target position",
"title": "Y Offset"
},
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, the point has to be reachable to be a valid target",
"title": "Must Reach"
},
"random_reselect": {
"type": "boolean",
"default": false,
"description": "If true, the mob will randomly pick a new point while moving to the previously selected one",
"title": "Random Reselect"
},
"float_duration": {
"$ref": "../types/range_number_type.json",
"default": [0.0, 0.0],
"description": "Range of time in seconds the mob will float around before landing and choosing to do something else",
"title": "Float Duration"
}
}
}