Entity Documentation - minecraft:behavior.restrict_open_door

minecraft:behavior.restrict_open_door compels an entity to stay indoors while the sun is down.

Parameters

Name Default Value Type Description
priority not set Integer The higher the priority, the sooner this behavior will be executed as a goal.

Example

"minecraft:behavior.restrict_open_door":{
    "priority": 2
}

Vanilla entities examples

villager

"minecraft:annotation.open_door": {
}

Vanilla entities using minecraft:behavior.restrict_open_door