1. Wiki
  2. /Entities
  3. /minecraft:annotation.break_door

minecraft:annotation.break_door

Don't want to write this by hand? GodCraft sets minecraft:annotation.break_door for you with a switch.Get GodCraft

Overview

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

FieldTypeDefaultDescription
break_timeDecimal"12.0"Seconds it takes the mob to smash a door.
min_difficultyString"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"
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more