Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/sleep.json
2021-10-08 13:17:37 +02:00

44 lines
1.5 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.sleep",
"additionalProperties": false,
"description": "Allows mobs that own a bed to in a village to move to and sleep in it.",
"type": "object",
"title": "Sleep",
"required": [],
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
},
"goal_radius": { "type": "number", "default": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Goal Radius" },
"sleep_collider_height": {
"type": "number",
"default": 1,
"description": "The height of the mob's collider while sleeping",
"title": "Sleep Collider Height"
},
"sleep_collider_width": {
"type": "number",
"default": 1,
"description": "The width of the mob's collider while sleeping",
"title": "Sleep Collider Width"
},
"sleep_y_offset": {
"type": "number",
"default": 1,
"description": "The y offset of the mob's collider while sleeping",
"title": "Sleep Y Offset"
},
"timeout_cooldown": {
"type": "number",
"default": 8,
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition",
"title": "Timeout Cooldown"
}
}
}