Behaviors

Nothing like an explanation to all.

WhileEntityNotWithin

Effect

Ticks the given child behavior while entity is not within range.

Attributes

child (Behavior): use inside the element instead of as an attribute.

target (string, default null): name of entity it's looking for (if unset, checks for player)

range (double, default 10): range of area for entity to be within

Examples

<Behavior type="WhileEntityNotWithin" target="Pirate" range="30"> <Behavior speed="2">Follow</Behavior> </Behavior>

Shot's Realm