public class EntityAIOwnerHurtByTarget extends EntityAITarget
Modifier and Type | Field and Description |
---|---|
private int |
field_142051_e |
(package private) EntityTameable |
theDefendingTameable |
(package private) EntityLivingBase |
theOwnerAttacker |
shouldCheckSight, taskOwner
Constructor and Description |
---|
EntityAIOwnerHurtByTarget(EntityTameable theDefendingTameableIn) |
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
EntityTameable theDefendingTameable
EntityLivingBase theOwnerAttacker
private int field_142051_e
public EntityAIOwnerHurtByTarget(EntityTameable theDefendingTameableIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAITarget