/** * Execute a one shot task or start executing a continuous task */ public void startExecuting() { this.taskOwner.setAttackTarget(this.targetEntity); super.startExecuting(); }
/** * Execute a one shot task or start executing a continuous task */ public void startExecuting() { this.taskOwner.setAttackTarget(this.targetEntity); super.startExecuting(); }
/** * Execute a one shot task or start executing a continuous task */ public void startExecuting() { this.myrmex.setAttackTarget(this.villageAgressorTarget); super.startExecuting(); } }
@Override public void startExecuting() { taskOwner.setAttackTarget(target); lastUpdate = taskOwner.ticksExisted; super.startExecuting(); } }
public void startExecuting() { this.taskOwner.setAttackTarget(this.targetEntity); super.startExecuting(); } }
@Override public void startExecuting() { this.taskOwner.getNavigator().tryMoveToXYZ(this.targetEntity.posX, this.targetEntity.posY, this.targetEntity.posZ, 1); super.startExecuting(); }
@Override public void startExecuting() { this.taskOwner.getNavigator().tryMoveToXYZ(this.targetEntity.posX, this.targetEntity.posY, this.targetEntity.posZ, 1); super.startExecuting(); }
@Override public void startExecuting() { this.taskOwner.getNavigator().tryMoveToXYZ(this.targetEntity.posX, this.targetEntity.posY, this.targetEntity.posZ, 1); super.startExecuting(); }
@Override public void startExecuting() { this.taskOwner.getNavigator().tryMoveToXYZ(this.targetEntity.posX, this.targetEntity.posY, this.targetEntity.posZ, 1); super.startExecuting(); }
@Override public void startExecuting() { this.taskOwner.getNavigator().tryMoveToXYZ(this.targetEntity.posX, this.targetEntity.posY, this.targetEntity.posZ, 1); super.startExecuting(); }
@Override public void startExecuting() { this.taskOwner.getNavigator().tryMoveToXYZ(this.targetEntity.posX, this.targetEntity.posY, this.targetEntity.posZ, 1); super.startExecuting(); }
/** * Execute a one shot task or start executing a continuous task */ @Override public void startExecuting() { this.taskOwner.setAttackTarget(this.attacker); EntityLivingBase entitylivingbase = owner; if (entitylivingbase != null) { this.timestamp = entitylivingbase.getRevengeTimer(); } super.startExecuting(); } }
/** * Execute a one shot task or start executing a continuous task */ public void startExecuting() { this.taskOwner.setAttackTarget(this.theOwnerAttacker); EntityLivingBase owner = this.theDefendingTameable.getOwner(); if (owner != null) { this.timestamp = owner.getRevengeTimer(); } super.startExecuting(); } }
/** * Execute a one shot task or start executing a continuous task */ public void startExecuting() { this.taskOwner.setAttackTarget(this.theTarget); EntityLivingBase entitylivingbase = this.theEntityDemonBase.getOwner(); if (entitylivingbase != null) { this.timestamp = entitylivingbase.getLastAttackedEntityTime(); } super.startExecuting(); } }
@Override public void startExecuting() { this.taskOwner.setAttackTarget(this.attacker); EntityLivingBase entitylivingbase = npc.world.getPlayerEntityByUUID(npc.getOwner().getUUID()); if (entitylivingbase != null) { this.timestamp = entitylivingbase.getLastAttackedEntityTime(); } super.startExecuting(); }
@Override public void startExecuting() { taskOwner.setAttackTarget(attacker); EntityLivingBase entitylivingbase = npc.world.getPlayerEntityByUUID(npc.getOwner().getUUID()); if (entitylivingbase != null) { timestamp = entitylivingbase.getRevengeTimer(); } super.startExecuting(); }
@Override public void startExecuting() { this.taskOwner.getMoveHelper().setMoveTo(this.targetEntity.posX, this.targetEntity.posY, this.targetEntity.posZ, 0.25D); if (this.taskOwner.getAttackTarget() == null) { this.taskOwner.getLookHelper().setLookPosition(this.targetEntity.posX, this.targetEntity.posY, this.targetEntity.posZ, 180.0F, 20.0F); } super.startExecuting(); }