Package me.ashtheking.dragons.ai

Examples of me.ashtheking.dragons.ai.EntityAIMagic


//    tasks.addTask(2, new EntityAIHurtByTarget(this, true));
//    tasks.addTask(2, new EntityAIMagic(this, moveSpeed,
//        Magic.staves.get(2).shiftedIndex, 60));
    tasks.addTask(2, new EntityAILeapAtTarget(this, 0.4F));
       // tasks.addTask(2, new EntityAIAttackOnCollide(this, moveSpeed, true));
        tasks.addTask(2, new EntityAIMagic(this, moveSpeed, Magic.staves.get(2).shiftedIndex, 60));
    tasks.addTask(4, new EntityAIFollowOwner(this, moveSpeed, 10F, 2.0F));
        tasks.addTask(6, new EntityAIWander(this, moveSpeed));
        targetTasks.addTask(2, new EntityAIOwnerHurtByTarget(this));
        targetTasks.addTask(2, new EntityAIOwnerHurtTarget(this));
        targetTasks.addTask(2, new EntityAIHurtByTarget(this, true));
View Full Code Here


public class Necromancer extends Mage {
  public Necromancer(World par1World) {
    super(par1World);
    texture = "/mob/necromancer.png";
    moveSpeed = 0.23F;
    tasks.addTask(2, new EntityAIMagic(this, moveSpeed, Magic.staves.get(9).shiftedIndex, 60));
  }
View Full Code Here

    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityPlayer.class, 16F, 0, true));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityVillager.class, 16F, 0, false));
    // tasks.addTask(2, new EntityAIArrowAttack(this, moveSpeed, 3, 60));
    tasks.addTask(2, new EntityAIMagic(this, moveSpeed, Magic.staves.get(6).shiftedIndex, 60));
    tasks.addTask(2, new EntityAIMagic(this, moveSpeed, Magic.staves.get(8).shiftedIndex, 60));
  }
View Full Code Here

TOP

Related Classes of me.ashtheking.dragons.ai.EntityAIMagic

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.