Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method | Description |
---|---|---|
@NotNull EntityDamageEvent.DamageCause |
EntityDamageEvent.getCause() |
Gets the cause of the damage.
|
static EntityDamageEvent.DamageCause |
EntityDamageEvent.DamageCause.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static EntityDamageEvent.DamageCause[] |
EntityDamageEvent.DamageCause.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor | Description |
---|---|
EntityDamageByBlockEvent(@Nullable Block damager,
@NotNull Entity damagee,
@NotNull EntityDamageEvent.DamageCause cause,
double damage) |
|
EntityDamageByBlockEvent(@Nullable Block damager,
@NotNull Entity damagee,
@NotNull EntityDamageEvent.DamageCause cause,
@NotNull Map<EntityDamageEvent.DamageModifier,Double> modifiers,
@NotNull Map<EntityDamageEvent.DamageModifier,? extends com.google.common.base.Function<? super Double,Double>> modifierFunctions) |
|
EntityDamageByEntityEvent(@NotNull Entity damager,
@NotNull Entity damagee,
@NotNull EntityDamageEvent.DamageCause cause,
double damage) |
|
EntityDamageByEntityEvent(@NotNull Entity damager,
@NotNull Entity damagee,
@NotNull EntityDamageEvent.DamageCause cause,
@NotNull Map<EntityDamageEvent.DamageModifier,Double> modifiers,
@NotNull Map<EntityDamageEvent.DamageModifier,? extends com.google.common.base.Function<? super Double,Double>> modifierFunctions) |
|
EntityDamageEvent(@NotNull Entity damagee,
@NotNull EntityDamageEvent.DamageCause cause,
double damage) |
|
EntityDamageEvent(@NotNull Entity damagee,
@NotNull EntityDamageEvent.DamageCause cause,
@NotNull Map<EntityDamageEvent.DamageModifier,Double> modifiers,
@NotNull Map<EntityDamageEvent.DamageModifier,? extends com.google.common.base.Function<? super Double,Double>> modifierFunctions) |
Copyright © 2020. All rights reserved.