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