2022-06-08 21:18:47 +02:00
|
|
|
{
|
|
|
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.emerge",
|
|
|
|
|
"type": "object",
|
2022-07-26 14:46:50 +01:00
|
|
|
"title": "Emerge",
|
2024-03-23 11:20:51 +05:00
|
|
|
"description": "Activates the `EMERGING` actor flag during the specified duration and triggers `on_done` at the end",
|
2022-06-08 21:18:47 +02:00
|
|
|
"additionalProperties": false,
|
|
|
|
|
"required": [],
|
|
|
|
|
"properties": {
|
|
|
|
|
"priority": { "$ref": "./types/priority.json" },
|
|
|
|
|
"cooldown_time": {
|
|
|
|
|
"title": "Cooldown Time",
|
2024-03-23 11:20:51 +05:00
|
|
|
"type": "number",
|
2022-06-08 21:18:47 +02:00
|
|
|
"default": 0.5,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Time in seconds the mob has to wait before using the goal again."
|
2022-06-08 21:18:47 +02:00
|
|
|
},
|
|
|
|
|
"duration": {
|
|
|
|
|
"title": "Duration",
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 5.0,
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Goal duration in seconds."
|
2022-06-08 21:18:47 +02:00
|
|
|
},
|
|
|
|
|
"on_done": {
|
|
|
|
|
"title": "On Done",
|
|
|
|
|
"$ref": "../types/trigger.json",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "Trigger to be executed when the goal execution is about to end."
|
2022-06-08 21:18:47 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|