Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/behaviors/minecraft.behavior.sleep.json
2021-04-04 13:52:35 +02:00

25 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.entities.1.8.0.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 1.8.0",
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_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": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"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"
}
}
}