* - Fix typo "torse" -> "torso" * - Added "main_hand" as an equipment location * - Added support for "beta" version of script modules * - Update point lights to local light * - Added precipitation_interactions * - Added control flags field to more goals * - Update fire_resistant to not accept direct values * - Added swing_duration component * - Added emissive block rendering * - Added emit_vibrations field to use_modifiers * - Added underwater ambient sounds - Added chance field to ambient sound addition * - Added alpha_masked_tint * - Added apply_knockback_to_blocking_targets field to projectile
56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.dig",
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Dig",
|
|
"description": "[EXPERIMENTAL BEHAVIOR] Activates the `DIGGING` actor flag during the specified duration. Currently only Warden can use the Dig goal",
|
|
"properties": {
|
|
"priority": {
|
|
"$ref": "./types/priority.json"
|
|
},
|
|
"control_flags": {
|
|
"$ref": "./types/control_flags.json"
|
|
},
|
|
"allow_dig_when_named": {
|
|
"title": "Allow Dig When Named",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "If true, this behavior can run when this entity is named. Otherwise not."
|
|
},
|
|
"digs_in_daylight": {
|
|
"title": "Digs In Daylight",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Indicates that the actor should start digging when it sees daylight."
|
|
},
|
|
"duration": {
|
|
"title": "Duration",
|
|
"type": "number",
|
|
"default": 0.0,
|
|
"description": "Goal duration in seconds."
|
|
},
|
|
"idle_time": {
|
|
"title": "Idle Time",
|
|
"type": "number",
|
|
"description": "The minimum idle time in seconds between the last detected disturbance to the start of digging."
|
|
},
|
|
"suspicion_is_disturbance": {
|
|
"title": "Suspicion Is Disturbance",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "If true, finding new suspicious locations count as disturbances that may delay the start of this goal."
|
|
},
|
|
"vibration_is_disturbance": {
|
|
"title": "Vibration Is Disturbance",
|
|
"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"
|
|
}
|
|
}
|
|
}
|