Package net.minecraft.src

Examples of net.minecraft.src.EntityAINearestAttackableTarget


      tasks.addTask(1, new EntityAIRandomEvent(this, moveSpeed, world));
       tasks.addTask(1, new EntityAIOpenDoor(this, true));
      tasks.addTask(0, new EntityAISoldier(this, EntityMob.class, Imperial.class,moveSpeed));
       
       tasks.addTask(5, new EntityAIMoveThroughVillage(this, moveSpeed, true));
      targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
          me.ashtheking.dragons.mob.SabreTooth.class, 16F, 0, false));
      tasks.addTask(6, new EntityAIWander(this, .2F));
      tasks.addTask(1, new EntityAIAttackOnCollide(this, moveSpeed, true));
       targetTasks.addTask(0, new EntityAIHurtByTarget(this, true));
  }
View Full Code Here


    tasks.addTask(6, new EntityAIWatchClosest(this, net.minecraft.src.EntityLiving.class, 10F));
    tasks.addTask(2, new EntityAIAttackOnCollide(this, .3F, true));


    targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityMob.class, 8F, 0, false));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityPlayer.class, 8F, 0, true));
 
  }
View Full Code Here

    tasks.addTask(1, new EntityAISwimming(this));
    tasks.addTask(6, new EntityAIWander(this, moveSpeed));
    tasks.addTask(6, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 8F));
    tasks.addTask(6, new EntityAILookIdle(this));
    targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        me.ashtheking.dragons.mob.Dragon.class, 64F, 0, false));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityMob.class, 32F, 0, false));
  }
View Full Code Here

      tasks.addTask(6, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 8F));
      tasks.addTask(6, new EntityAILookIdle(this));
        tasks.addTask(4, new EntityAIAttackOnCollide(this, moveSpeed, true));
          tasks.addTask(5, new EntityAIFollowOwner(this, moveSpeed, 10F, 2.0F));
      targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
      targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
          me.ashtheking.dragons.mob.Dragon.class, 64F, 0, false));
      targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
          net.minecraft.src.EntityMob.class, 12F, 0, false));
      targetTasks.addTask(1, new EntityAIOwnerHurtByTarget(this));
          targetTasks.addTask(2, new EntityAIOwnerHurtTarget(this));
          targetTasks.addTask(3, new EntityAIHurtByTarget(this, true));
  }
View Full Code Here

      tasks.addTask(6, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 8F));
      tasks.addTask(6, new EntityAILookIdle(this));
        tasks.addTask(4, new EntityAIAttackOnCollide(this, moveSpeed, true));
          tasks.addTask(5, new EntityAIFollowOwner(this, moveSpeed, 10F, 2.0F));
      targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
      targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
          me.ashtheking.dragons.mob.Dragon.class, 64F, 0, false));
      targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
          net.minecraft.src.EntityMob.class, 12F, 0, false));
      targetTasks.addTask(1, new EntityAIOwnerHurtByTarget(this));
          targetTasks.addTask(2, new EntityAIOwnerHurtTarget(this));
          targetTasks.addTask(3, new EntityAIHurtByTarget(this, true));
  }
View Full Code Here

    tasks.addTask(1, new EntityAIRandomEvent(this, moveSpeed, world));
     tasks.addTask(1, new EntityAIOpenDoor(this, true));
    tasks.addTask(0, new EntityAISoldier(this, EntityMob.class, Stormcloak.class,moveSpeed));
     
     tasks.addTask(5, new EntityAIMoveThroughVillage(this, moveSpeed, true));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        me.ashtheking.dragons.mob.SabreTooth.class, 16F, 0, false));
    tasks.addTask(6, new EntityAIWander(this, .2F));
     targetTasks.addTask(0, new EntityAIHurtByTarget(this, true));
     
  }
View Full Code Here

    texture = "/mob/imperial.png";
     tasks.addTask(1, new EntityAIOpenDoor(this, true));
    tasks.addTask(1, new EntityAIRandomEvent(this, moveSpeed, par1World));
    tasks.addTask(0, new EntityAISoldier(this, EntityMob.class, Stormcloak.class,moveSpeed));
     tasks.addTask(5, new EntityAIMoveThroughVillage(this, moveSpeed, true));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        me.ashtheking.dragons.mob.SabreTooth.class, 16F, 0, false));
 
    tasks.addTask(6, new EntityAIWander(this, .2F));
    setLocationAndAngles(par2EntityLiving.posX, par2EntityLiving.posY+ (double) par2EntityLiving.getEyeHeight(), par2EntityLiving.posZ,  par2EntityLiving.rotationYaw, par2EntityLiving.rotationPitch)
    targetTasks.addTask(0, new EntityAIHurtByTarget(this, true));
View Full Code Here

    tasks.addTask(6, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 10F));
    tasks.addTask(2, new EntityAIAttackOnCollide(this, moveSpeed, true));
    tasks.addTask(2, new EntityAILeapAtTarget(this, 0.3F));

    targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    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, true));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityMob.class, 16F, 0, true, false));
    targetTasks.addTask(3, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityAnimal.class, 24F, 0, true, false));
  }
View Full Code Here

    tasks.addTask(6, new EntityAIWander(this, .2F));
    tasks.addTask(6, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 10F));

    targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    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, true));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityMob.class, 16F, 0, true, false));
    targetTasks.addTask(2, new EntityAINearestAttackableTarget(this,
        net.minecraft.src.EntityAnimal.class, 24F, 0, true, false));

  }
View Full Code Here

    // moveSpeed, true));
    tasks.addTask(6, new EntityAIWander(this, moveSpeed));
    tasks.addTask(6, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 8F));
    tasks.addTask(6, new EntityAILookIdle(this));
    targetTasks.addTask(1, new EntityAIHurtByTarget(this, false));
    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 net.minecraft.src.EntityAINearestAttackableTarget

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.