Entity Documentation - minecraft:annotation.break_door
minecraft:annotation.break_door
compels an entity to break doors, assuming that flags are set up for the component to use in navigation.
Important
minecraft:annotation.break_door
requires the entity's navigation component to have the parameter can_break_doors
set to true
.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
break_time | 12.0 | Decimal | The time in seconds required to break through doors. |
min_difficulty | hard | String | The minimum difficulty that the world must be on for the entity to break doors. |
Example
"minecraft:annotation.break_door":{
"break_time": 12.0,
"min_difficulty": "hard"
}
Vanilla entities examples
vindicator
"minecraft:annotation.break_door": {
"break_time": 30,
"min_difficulty": "normal"
}
Vanilla entities using minecraft:annotation.break_door
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for