Updated
This commit is contained in:
28
source/behavior/entities/format/behaviors/emerge.json
Normal file
28
source/behavior/entities/format/behaviors/emerge.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user