Fleeplayers

Description

Causes the mob to flee from players.

Attributes

Attribute Aliases Description Default
distance d The distance for targets to be from the mob itself 16
speed s The speed at which to flee 1.2
safespeed ss The speed at which to flee once a safe distance (50 blocks) away 1

Examples

ExampleMob:
  Type: ZOMBIE
  AIGoalSelectors:
    - clear
    - fleeplayers{d=10;s=2;ss=1}

Aliases

  • runfromplayers
Updated Aug 19, 2026