Package me.ashtheking.dragons.ai

Examples of me.ashtheking.dragons.ai.EntityAIRandomEvent


    attackStrength = 4;
    name = "Stormcloak";
    texture = "/mob/stormcloak.png";
      moveSpeed = 0.3F;
    
      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,
View Full Code Here


    {
      super(par1World);
      texture = "/mob/slaughterfish.png";
      yOffset = -1F
      moveSpeed = 0.5F;
      tasks.addTask(0, new EntityAIRandomEvent(this, moveSpeed, par1World));
       tasks.addTask(1, new EntityAIMoveThroughVillage(this, 0.16F, true));
      tasks.addTask(2, new EntityAIWander(this, .2F));
     
    }
View Full Code Here

  public Slaughterfish(World par1World, EntityLiving par2EntityLiving, float par3) {
      super(par1World);
      texture = "/mob/slaughterfish.png";
        yOffset = -1F
        moveSpeed = 0.5F;
    tasks.addTask(0, new EntityAIRandomEvent(this, moveSpeed, par1World));
     tasks.addTask(1, new EntityAIMoveThroughVillage(this, 0.3F, true));
    tasks.addTask(2, new EntityAIWander(this, .2F));
      moveSpeed = 0.4F;
      setLocationAndAngles(par2EntityLiving.posX, par2EntityLiving.posY+ (double) par2EntityLiving.getEyeHeight(), par2EntityLiving.posZ,  par2EntityLiving.rotationYaw, par2EntityLiving.rotationPitch)
   }
View Full Code Here

    super(world);
    attackStrength = 4;
    name = "Imperial";
      moveSpeed = 0.3F;
    texture = "/mob/imperial.png";
    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,
View Full Code Here

    attackStrength = 4;
      moveSpeed = 0.3F;
    name = "Imperial";
    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));
 
View Full Code Here

TOP

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

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.