public class EntityAIOwnerHurtByTarget extends EntityAITarget
| Modifier and Type | Field and Description |
|---|---|
(package private) EntityLivingBase |
attacker |
(package private) EntityTameable |
tameable |
private int |
timestamp |
shouldCheckSight, target, taskOwner, unseenMemoryTicks| Constructor and Description |
|---|
EntityAIOwnerHurtByTarget(EntityTameable theDefendingTameableIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
getTargetDistance, isSuitableTarget, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexBits, isInterruptible, setMutexBits, updateTaskEntityTameable tameable
EntityLivingBase attacker
private int timestamp
public EntityAIOwnerHurtByTarget(EntityTameable theDefendingTameableIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAITarget