Package net.minecraft.src

Examples of net.minecraft.src.EntityAIPanic


    texture = "/mob/deer.png";
    setSize(0.9F, 0.9F);
    getNavigator().func_48664_a(true);
    float f = 0.25F;
    tasks.addTask(1, new EntityAISwimming(this));
    tasks.addTask(2, new EntityAIPanic(this, 0.38F));
    tasks.addTask(5, new EntityAIMate(this, f));
    tasks.addTask(4, new EntityAITempt(this, 0.25F,
        Item.wheat.shiftedIndex, false));
    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

TOP

Related Classes of net.minecraft.src.EntityAIPanic

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.