minecraft:behavior.dragonscanning

Allows the dragon to look around for a player to attack while in perch mode. Can only be used by the Ender Dragon.

Properties

PropertyTypeDefaultWhat it does
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

This is how vanilla Ender Dragon uses it in Minecraft Bedrock 1.26.60.5:

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

Used by 1

Vanilla entities with minecraft:behavior.dragonscanning in their definition:

Related components