Package | Description |
---|---|
org.bukkit.event.entity |
Modifier and Type | Method | Description |
---|---|---|
EntityDamageEvent.DamageCause |
EntityDamageEvent.getCause() |
Gets the cause of the damage.
|
static EntityDamageEvent.DamageCause |
EntityDamageEvent.DamageCause.valueOf(java.lang.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(Block damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
double damage) |
Deprecated.
|
EntityDamageByBlockEvent(Block damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
java.util.Map<EntityDamageEvent.DamageModifier,java.lang.Double> modifiers,
java.util.Map<EntityDamageEvent.DamageModifier,? extends com.google.common.base.Function<? super java.lang.Double,java.lang.Double>> modifierFunctions) |
|
EntityDamageByEntityEvent(Entity damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
double damage) |
Deprecated.
|
EntityDamageByEntityEvent(Entity damager,
Entity damagee,
EntityDamageEvent.DamageCause cause,
java.util.Map<EntityDamageEvent.DamageModifier,java.lang.Double> modifiers,
java.util.Map<EntityDamageEvent.DamageModifier,? extends com.google.common.base.Function<? super java.lang.Double,java.lang.Double>> modifierFunctions) |
|
EntityDamageEvent(Entity damagee,
EntityDamageEvent.DamageCause cause,
double damage) |
Deprecated.
|
EntityDamageEvent(Entity damagee,
EntityDamageEvent.DamageCause cause,
java.util.Map<EntityDamageEvent.DamageModifier,java.lang.Double> modifiers,
java.util.Map<EntityDamageEvent.DamageModifier,? extends com.google.common.base.Function<? super java.lang.Double,java.lang.Double>> modifierFunctions) |
Copyright © 2018. All rights reserved.