Uses of Enum Class
org.bukkit.event.entity.EntityDamageEvent.DamageCause
Package
Description
-
Uses of EntityDamageEvent.DamageCause in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityDamageEvent.getCause()
Gets the cause of the damage.Returns the enum constant of this class with the specified name.static EntityDamageEvent.DamageCause[]
EntityDamageEvent.DamageCause.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionEntityDamageByBlockEvent
(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage) Deprecated, for removal: This API element is subject to removal in a future version.EntityDamageByBlockEvent
(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) Deprecated, for removal: This API element is subject to removal in a future version.EntityDamageByBlockEvent
(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, DamageSource damageSource, double damage) EntityDamageByBlockEvent
(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, DamageSource damageSource, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) EntityDamageByEntityEvent
(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage) Deprecated, for removal: This API element is subject to removal in a future version.EntityDamageByEntityEvent
(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) Deprecated, for removal: This API element is subject to removal in a future version.EntityDamageByEntityEvent
(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, DamageSource damageSource, double damage) EntityDamageByEntityEvent
(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, DamageSource damageSource, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) EntityDamageEvent
(Entity damagee, EntityDamageEvent.DamageCause cause, double damage) Deprecated, for removal: This API element is subject to removal in a future version.EntityDamageEvent
(Entity damagee, EntityDamageEvent.DamageCause cause, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) Deprecated, for removal: This API element is subject to removal in a future version.EntityDamageEvent
(Entity damagee, EntityDamageEvent.DamageCause cause, DamageSource damageSource, double damage) EntityDamageEvent
(Entity damagee, EntityDamageEvent.DamageCause cause, DamageSource damageSource, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions)