minecraft:behavior.wither_random_attack_pos_goal

Allows the wither to launch random attacks. Can only be used by the Wither Boss.

Properties

PropertyTypeDefaultWhat it does
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

This is how vanilla Wither uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:behavior.wither_random_attack_pos_goal": {
    "priority": 3
  }
}

Used by 1

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

Related components