Allows an entity to break doors, assuming that that flags set up for the component to use in navigation.
Note
Requires the entity's navigation component to have the parameter can_break_doors set to true.
Break doors annotation Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| break_time | 12 | Integer number | The time in seconds required to break through doors. | Vindicator: 30 |
| min_difficulty | hard | String from a list of choices | The minimum difficulty that the world must be on for this entity to break doors. | Vindicator: "normal" |
Samples
Drowned
"minecraft:annotation.break_door": {}
Vindicator
"minecraft:annotation.break_door": {
"break_time": 30,
"min_difficulty": "normal"
}