Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method | Description |
---|---|---|
@NotNull EntityTargetEvent.TargetReason |
EntityTargetEvent.getReason() |
Returns the reason for the targeting
|
static EntityTargetEvent.TargetReason |
EntityTargetEvent.TargetReason.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static EntityTargetEvent.TargetReason[] |
EntityTargetEvent.TargetReason.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor | Description |
---|---|
EntityTargetEvent(@NotNull Entity entity,
@Nullable Entity target,
@NotNull EntityTargetEvent.TargetReason reason) |
|
EntityTargetLivingEntityEvent(@NotNull Entity entity,
@Nullable LivingEntity target,
@Nullable EntityTargetEvent.TargetReason reason) |
Copyright © 2020. All rights reserved.