Package net.minecraft.src

Examples of net.minecraft.src.EntityAIMoveThroughVillage


    
      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


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

    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));
 
    tasks.addTask(6, new EntityAIWander(this, .2F));
    setLocationAndAngles(par2EntityLiving.posX, par2EntityLiving.posY+ (double) par2EntityLiving.getEyeHeight(), par2EntityLiving.posZ,  par2EntityLiving.rotationYaw, par2EntityLiving.rotationPitch)
View Full Code Here

TOP

Related Classes of net.minecraft.src.EntityAIMoveThroughVillage

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.