Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/hide.json
2021-10-11 18:13:12 +02:00

44 lines
1.1 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.hide",
"type": "object",
"title": "Hide",
"additionalProperties": false,
"description": "Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI.",
"required": [],
"properties": {
"priority": {
"$ref": "types/priority.json"
},
"speed_multiplier": {
"$ref": "types/speed_multiplier.json"
},
"duration": {
"type": "number",
"default": 1,
"description": "Amount of time in seconds that the mob reacts.",
"title": "Duration"
},
"poi_type": {
"type": "string",
"default": "",
"description": "Defines what POI type to hide at.",
"title": "Point Of Interest Type",
"examples": [
"bed"
]
},
"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"
}
},
"examples": [
{
"duration": 1,
"poi_type": "",
"timeout_cooldown": 8
}
]
}