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