public class LivingSetAttackTargetEvent extends LivingEvent
EntityLiving.setAttackTarget(EntityLivingBase).ForgeHooks.onLivingSetAttackTarget(EntityLivingBase, EntityLivingBase).target contains the newly targeted Entity.Cancelable.HasResultMinecraftForge.EVENT_BUS.LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Constructor and Description | 
|---|
LivingSetAttackTargetEvent(EntityLivingBase entity,
                          EntityLivingBase target)  | 
| Modifier and Type | Method and Description | 
|---|---|
EntityLivingBase | 
getTarget()  | 
getEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic LivingSetAttackTargetEvent(EntityLivingBase entity, EntityLivingBase target)
public EntityLivingBase getTarget()