Relation enum
Values
- attacker → const Relation
-
the last entity that damaged the current executor entity in the previous 5 second
- controller → const Relation
-
the entity that is riding and controlling the current executor entity
- leasher → const Relation
-
the entity leading the current executor entity with a leash.
- origin → const Relation
-
the entity that cause the summon of the current executor entity. For example, the shooter of an arrow, the primer of a primed TNT entity.
- owner → const Relation
-
the owner of the current executor entity if it is a tameable animal.
- passengers → const Relation
-
all entities that are directly riding the current executor entity, no sub-passengers.
- target → const Relation
-
the attack target of the current executor entity.
- vehicle → const Relation
-
the entity ridden by the current executor entity.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited