Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/emerge.json
2022-06-08 21:18:47 +02:00

29 lines
911 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.emerge",
"type": "object",
"title": "Eat Mob",
"description": "[EXPERIMENTAL BEHAVIOR] Activates the `EMERGING` actor flag during the specified duration and triggers `on_done` at the end",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/priority.json" },
"cooldown_time": {
"title": "Cooldown Time",
"type": "integer",
"default": 0.5,
"description": "Time in seconds the mob has to wait before using the goal again"
},
"duration": {
"title": "Duration",
"type": "number",
"default": 5.0,
"description": "Goal duration in seconds"
},
"on_done": {
"title": "On Done",
"$ref": "../types/trigger.json",
"description": "Trigger to be executed when the goal execution is about to end"
}
}
}