Entity - is Aggressive (Condition) — Lusk

Addon: Lusk · Category: Condition · Since: 1.3

Syntax

%livingentities% (is|are) aggressive

Description

Checks if the provided entities are aggressive.

Some mobs will raise their arm(s) when aggressive: Drowned, Piglin, Skeleton, Zombie, ZombieVillager, Illusioner, Vindicator, Panda, Pillager, PiglinBrute

Note: This doesn't always return the actual aggressive state as when set, Pandas are always aggressive if their combined Panda Gene is AGGRESSIVE.

Examples

on damage of wolf:
	if victim is angry:
		cancel event

View source