public class AttackEntityEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.HarvestCheck, PlayerEvent.NameFormatLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
Entity |
target |
entityPlayerentityLivingentity| Constructor and Description |
|---|
AttackEntityEvent(EntityPlayer player,
Entity target) |
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResultpublic final Entity target
public AttackEntityEvent(EntityPlayer player, Entity target)