程序包 | 说明 |
---|---|
org.bukkit.entity |
为在
世界 内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等. |
org.bukkit.event.entity |
限定符和类型 | 方法和说明 |
---|---|
EntityDamageEvent |
Entity.getLastDamageCause()
Retrieve the last
EntityDamageEvent inflicted on this entity. |
限定符和类型 | 方法和说明 |
---|---|
void |
Entity.setLastDamageCause(EntityDamageEvent event)
Record the last
EntityDamageEvent inflicted on this entity |
限定符和类型 | 类和说明 |
---|---|
class |
EntityDamageByBlockEvent
当一个实体受到来自方块的伤害时触发该事件
原文:
Called when an entity is damaged by a block
|
class |
EntityDamageByEntityEvent
当一个实体受到另外一个实体伤害时触发该事件
|