Package net.minecraft.src

Examples of net.minecraft.src.EntityAIHurtByTarget


       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(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

    tasks.addTask(6, new EntityAIWander(this, .2F));
    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 EntityAIWander(this, moveSpeed));
      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 EntityAIWander(this, moveSpeed));
      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(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

    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 EntityAIWander(this, .2F));
    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,
View Full Code Here

    tasks.addTask(2, new EntityAILeapAtTarget(this, 0.3F));

    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,
View Full Code Here

TOP

Related Classes of net.minecraft.src.EntityAIHurtByTarget

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.