1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-07 22:47:03 +00:00
Files
bedrock-samples/metadata/json_schemas/server/entity/1.21.110/SwimIdleGoalDefinition.json
2025-09-09 10:02:11 -07:00

34 lines
862 B
JSON

{
"$id": "3786002008",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Allows the entity go idle, if swimming. Entity must be in water.",
"properties": {
"control_flags": {
"items": {
"enum": [
"move",
"look",
"jump"
],
"title": "Goal's control flags",
"type": "string"
},
"type": "array"
},
"idle_time": {
"description": "Amount of time (in seconds) to stay idle. Default value: 5.",
"type": "number"
},
"priority": {
"minimum": 0,
"type": "integer"
},
"success_rate": {
"description": "Percent chance this entity will go idle, 1.0 = 100%. Default value: 0.1.",
"type": "number"
}
},
"title": "minecraft:behavior.swim_idle",
"type": "object",
"x-format-version": "1.21.110"
}