Appearance
helix / Relation
Variable: Relation โ
constRelation:object
Defined in: core/values/enums.ts:71
execute on <relation>: switch the executor to a related entity.
The only way to reach state NBT doesn't expose, like a mob's current attack TARGET. No match means no executor, so the chain does nothing.
Type Declaration โ
ATTACKER โ
readonlyATTACKER:"attacker"="attacker"
CONTROLLER โ
readonlyCONTROLLER:"controller"="controller"
LEASHER โ
readonlyLEASHER:"leasher"="leasher"
ORIGIN โ
readonlyORIGIN:"origin"="origin"
OWNER โ
readonlyOWNER:"owner"="owner"
PASSENGERS โ
readonlyPASSENGERS:"passengers"="passengers"
TARGET โ
readonlyTARGET:"target"="target"
VEHICLE โ
readonlyVEHICLE:"vehicle"="vehicle"