Package net.minecraft.src

Examples of net.minecraft.src.EntityAIAvoidEntity


    tasks.addTask(6, new EntityAIFollowParent(this, 0.28F));
    tasks.addTask(6, new EntityAIWander(this, f));
    tasks.addTask(6, new EntityAIWatchClosest(this,  net.minecraft.src.EntityPlayer.class, 6F));
     
    tasks.addTask(6, new EntityAILookIdle(this));
     tasks.addTask(2, new EntityAIAvoidEntity(this, me.ashtheking.dragons.mob.SabreTooth.class, 18F, 0.4F, 0.4F));
     tasks.addTask(2,new EntityAIPanic(this, .38f));
     tasks.addTask(2, new EntityAIAvoidEntity(this, net.minecraft.src.EntityPlayer.class, 18F, 0.4F, 0.4F));
  }
View Full Code Here


    texture = "/mob/mammoth.png";
        yOffset *= 3F;
        setSize(width * 3F, 6F);
        getNavigator().func_48664_a(true);
    tasks.addTask(1, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIAvoidEntity(this, net.minecraft.src.EntityCreeper.class, 16F,
        0.23F, 0.4F));
    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));

View Full Code Here

    moveSpeed = 0.4F;

    getNavigator().func_48664_a(true);
    tasks.addTask(1, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIAvoidEntity(this, net.minecraft.src.EntityCreeper.class, 16F,
        0.23F, 0.4F));
    tasks.addTask(1, new EntityAIAvoidEntity(this, me.ashtheking.dragons.mob.Troll.class, 16F,
        0.23F, 0.4F));
    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));
View Full Code Here

    setLocationAndAngles(par2EntityLiving.posX, par2EntityLiving.posY
        + (double) par2EntityLiving.getEyeHeight(), par2EntityLiving.posZ,
        par2EntityLiving.rotationYaw, par2EntityLiving.rotationPitch);
    getNavigator().func_48664_a(true);
    tasks.addTask(1, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIAvoidEntity(this, net.minecraft.src.EntityCreeper.class, 16F,
        0.23F, 0.4F));
    tasks.addTask(1, new EntityAIAvoidEntity(this, me.ashtheking.dragons.mob.Troll.class, 16F,
        0.23F, 0.4F));
    tasks.addTask(2, new EntityAIAttackOnCollide(this, moveSpeed, true));
    tasks.addTask(2, new EntityAILeapAtTarget(this, 0.3F));

    tasks.addTask(6, new EntityAIWander(this, .2F));
View Full Code Here

TOP

Related Classes of net.minecraft.src.EntityAIAvoidEntity

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.