| Package | Description | 
|---|---|
| org.bukkit.entity | 
 Interfaces for non-voxel objects that can exist in a  
world, including all players, monsters, projectiles, etc. | 
| org.bukkit.event.entity | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Damageable.damage(double amount,
      EntityDamageEvent.DamageCause cause)
Deals the given amount of damage to this entity, with a specified cause. 
 | 
void | 
Damageable.damage(double amount,
      Entity source,
      EntityDamageEvent.DamageCause cause)
Deals the given amount of damage to this entity, from a specified entity,
 with a specified cause. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
Copyright © 2021. All rights reserved.