minecraft:behavior.door_interact
Allows the mob to open and close doors.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
priority | Integermin 0 | 0 | |
control_flags | List of text | [] |
Used by
No vanilla entity file in the official samples uses this component. It is still part of the schema, so add-ons can use it.
Related components
behavior.pickup_itemsbehavior.move_to_villagebehavior.harvest_farm_blockbehavior.lay_eggbehavior.move_indoorsbehavior.move_outdoorsbehavior.place_blockbehavior.raid_gardenbehavior.digbehavior.dragonscanningbehavior.drop_item_forbehavior.eat_blockbehavior.eat_carried_itembehavior.eat_mobbehavior.fertilize_farm_blockbehavior.hold_groundbehavior.inspect_bookshelfbehavior.move_through_villagebehavior.open_doorbehavior.random_search_and_digbehavior.restrict_open_doorbehavior.snackingbehavior.stroll_towards_villagebehavior.take_block