mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-10-10 19:30:54 +00:00
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"$id": "61802587",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "Allows the entity to wander around while swimming, when not path-finding.",
|
|
"properties": {
|
|
"control_flags": {
|
|
"items": {
|
|
"enum": [
|
|
"move",
|
|
"look",
|
|
"jump"
|
|
],
|
|
"title": "Goal's control flags",
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"interval": {
|
|
"description": "Percent chance to start wandering, when not path-finding. 1 = 100% Default value: 0.00833.",
|
|
"type": "number"
|
|
},
|
|
"look_ahead": {
|
|
"description": "Distance to look ahead for obstacle avoidance, while wandering. Default value: 5.",
|
|
"type": "number"
|
|
},
|
|
"priority": {
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"speed_multiplier": {
|
|
"description": "This multiplier modifies the entity's speed when wandering. Default value: 1.",
|
|
"type": "number"
|
|
},
|
|
"wander_time": {
|
|
"description": "Amount of time (in seconds) to wander after wandering behavior was successfully started. Default value: 5.",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"title": "minecraft:behavior.swim_wander",
|
|
"type": "object",
|
|
"x-format-version": "1.21.110"
|
|
} |