public class EntityAIHurtByTarget extends EntityAITarget
shouldCheckSight, target, taskOwner, unseenMemoryTicks
Constructor and Description |
---|
EntityAIHurtByTarget(EntityCreature creatureIn,
boolean entityCallsForHelpIn,
java.lang.Class<?>... excludedReinforcementTypes) |
Modifier and Type | Method and Description |
---|---|
protected void |
alertOthers() |
protected void |
setEntityAttackTarget(EntityCreature creatureIn,
EntityLivingBase entityLivingBaseIn) |
boolean |
shouldExecute() |
void |
startExecuting() |
getTargetDistance, isSuitableTarget, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexBits, isInterruptible, setMutexBits, updateTask
public EntityAIHurtByTarget(EntityCreature creatureIn, boolean entityCallsForHelpIn, java.lang.Class<?>... excludedReinforcementTypes)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAITarget
protected void alertOthers()
protected void setEntityAttackTarget(EntityCreature creatureIn, EntityLivingBase entityLivingBaseIn)