public class EntityAIOwnerHurtTarget extends EntityAITarget
shouldCheckSight, taskOwner
Constructor and Description |
---|
EntityAIOwnerHurtTarget(EntityTameable theEntityTameableIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
continueExecuting, getTargetDistance, isSuitableTarget, isSuitableTarget, resetTask
getMutexBits, isInterruptible, setMutexBits, updateTask
public EntityAIOwnerHurtTarget(EntityTameable theEntityTameableIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAITarget