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