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, shouldContinueExecuting
getMutexBits, isInterruptible, setMutexBits, updateTask
EntityTameable tameable
EntityLivingBase attacker
private int timestamp
public EntityAIOwnerHurtByTarget(EntityTameable theDefendingTameableIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAITarget