Uses of Interface
org.bukkit.damage.DamageSource
Package
Description
Classes concerning damage types and sources applicable to living entities.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of DamageSource in org.bukkit.damage
Modifier and TypeMethodDescriptionDamageSource.Builder.build()
Create a newDamageSource
instance using the supplied parameters. -
Uses of DamageSource in org.bukkit.entity
Modifier and TypeMethodDescriptionvoid
Damageable.damage
(double amount, DamageSource damageSource) Deals the given amount of damage to this entity from a specifiedDamageSource
. -
Uses of DamageSource in org.bukkit.event.entity
ModifierConstructorDescriptionEntityDamageByBlockEvent
(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, 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, 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)