编辑

Entity Documentation - minecraft:behavior.dragonscanning

Allows the dragon to look around for a player to attack while in perch mode.

Note

Can only be used on the following type of entity:

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragonscanning Behavior Properties

Name Default Value Type Description Example Values
control_flags [] Control Flags choices
priority 0 Integer number As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal. Ender Dragon: 2

Control Flags choices

Value Title Description
jump Jump
look Look
move Move

Samples

Ender Dragon

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