public class EntityAIHurtByTarget extends EntityAITarget
shouldCheckSight, taskOwner
Constructor and Description |
---|
EntityAIHurtByTarget(EntityCreature p_i1660_1_,
boolean p_i1660_2_) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
continueExecuting, getTargetDistance, isSuitableTarget, resetTask
getMutexBits, isInterruptible, setMutexBits, updateTask
public EntityAIHurtByTarget(EntityCreature p_i1660_1_, boolean p_i1660_2_)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAITarget