minecraft:annotation.break_door for you with a switch.Get GodCraftOverview
minecraft:annotation.break_door is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Tells the pathfinder that this mob can break through doors. Pair it with navigation that allows passing doors.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
break_time | Decimal | "12.0" | Seconds it takes the mob to smash a door. |
min_difficulty | String | "hard" | The lowest world difficulty where the mob is allowed to break doors. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:annotation.break_door": {
"break_time": "12.0",
"min_difficulty": "hard"
}
}