Misc entity fixes (#248)
* - Misc entity fixes * - Update entity sensor * Update source/behavior/entities/format/behaviors/dig.json Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com> * - Change entity sensor range property * - Fix --------- Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
@@ -42,6 +42,11 @@
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, vibrations count as disturbances that may delay the start of this goal."
|
||||
},
|
||||
"on_start": {
|
||||
"title": "On Start",
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "The event to run when the goal start"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.emerge",
|
||||
"type": "object",
|
||||
"title": "Emerge",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Activates the `EMERGING` actor flag during the specified duration and triggers `on_done` at the end",
|
||||
"description": "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",
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again."
|
||||
},
|
||||
|
||||
@@ -8,6 +8,12 @@
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"sink_with_passengers": {
|
||||
"title": "Sink With Passengers",
|
||||
"description": "If true, the mob will keep sinking as long as it has passengers.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,15 @@
|
||||
"title": "Cooldown Range",
|
||||
"default": [0.0, 0.0],
|
||||
"description": "Goal cooldown range in seconds.",
|
||||
"$ref": "../../../../general/vectors/number2.json"
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "../../../../general/vectors/number2.json"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"digging_duration_range": {
|
||||
"title": "Digging Duration Range",
|
||||
|
||||
@@ -43,6 +43,12 @@
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition."
|
||||
},
|
||||
"goal_radius": {
|
||||
"title": "Goal Radius",
|
||||
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
|
||||
"default": 0.5,
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -8,6 +8,11 @@
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"filters": {
|
||||
"title": "Filters",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Conditions that need to be met for the behavior to start."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user