| 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 | Description | 
|---|---|---|
EntityDamageEvent | 
Entity.getLastDamageCause() | 
 Retrieve the last  
EntityDamageEvent inflicted on this entity. | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
Entity.setLastDamageCause(EntityDamageEvent event) | 
 Record the last  
EntityDamageEvent inflicted on this entity | 
| Modifier and Type | Class | Description | 
|---|---|---|
class  | 
EntityDamageByBlockEvent | 
 Called when an entity is damaged by a block 
 | 
class  | 
EntityDamageByEntityEvent | 
 Called when an entity is damaged by an entity 
 | 
Copyright © 2020. All rights reserved.