Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method and 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 and Description |
---|
EntityTargetEvent(@NotNull Entity entity,
@Nullable Entity target,
@NotNull EntityTargetEvent.TargetReason reason) |
EntityTargetLivingEntityEvent(@NotNull Entity entity,
@Nullable LivingEntity target,
@Nullable EntityTargetEvent.TargetReason reason) |
Copyright © 2021. All rights reserved.