Java 类net.minecraft.entity.ai.EntityAIBreakDoor 实例源码

项目:FiveNightsAtFreddysUniverseMod    文件:EntityBonnie.java   
public EntityBonnie(World world) {
        super(world);
        this.setSize(0.9F, 2.5F);

        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityBonnieAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityBonnieAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityBonnieAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityBonnieAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntitySpringbonnieAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityBonnieAILookIdle(this));
        this.targetTasks.addTask(1, new EntityBonnieAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityBonnieAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityToyBonnie.java   
public EntityToyBonnie(World world) {
        super(world);
        this.setSize(0.9F, 2.5F);

        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityTBonnieAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityTBonnieAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityTBonnieAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityTBonnieAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntitySpringbonnieAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityTBonnieAILookIdle(this));
        this.targetTasks.addTask(1, new EntityTBonnieAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityTBonnieAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityMinirina.java   
public EntityMinirina(World world) {
        super(world);
        this.setSize(0.6F, 0.9F);

        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityMinirinaAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityMinirinaAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityMinirinaAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityMinirinaAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntitySpringbonnieAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityMinirinaAILookIdle(this));
        this.targetTasks.addTask(1, new EntityMinirinaAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityMinirinaAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityToyFreddy.java   
public EntityToyFreddy(World world) {
        super(world);
        this.setSize(0.9F, 2.5F);

        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityTFreddyAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityTFreddyAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityTFreddyAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityTFreddyAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntitySpringbonnieAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityTFreddyAILookIdle(this));
        this.targetTasks.addTask(1, new EntityTFreddyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityTFreddyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityWBonnie.java   
public EntityWBonnie(World world) {
        super(world);
        this.setSize(0.9F, 2.5F);

        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityWBonnieAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityWBonnieAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityWBonnieAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityWBonnieAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntitySpringbonnieAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityWBonnieAILookIdle(this));
        this.targetTasks.addTask(1, new EntityWBonnieAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityWBonnieAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityChica.java   
public EntityChica(World world) {
        super(world);
        this.setSize(0.9F, 2.5F);

        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityChicaAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityChicaAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityChicaAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityChicaAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntitySpringbonnieAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityChicaAILookIdle(this));
        this.targetTasks.addTask(1, new EntityChicaAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityChicaAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityFuntimeFreddy.java   
public EntityFuntimeFreddy(World world) {
        super(world);
        this.setSize(0.9F, 2.8F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityFuntimeFreddyAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityFuntimeFreddyAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityFuntimeFreddyAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityFuntimeFreddyAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntityFuntimeFreddyAICrawlThroughVent(this, 0.5D));
//      this.tasks.addTask(9, new EntityFredbearAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityFuntimeFreddyAILookIdle(this));
        this.targetTasks.addTask(1, new EntityFuntimeFreddyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityFuntimeFreddyAINearestAttackableTarget(this, EntityVillager.class, 0, true));

    }
项目:Runes-And-Silver    文件:EntityEskimoZombie.java   
public EntityEskimoZombie(World par1World)
{
    super(par1World);
    this.getNavigator().setBreakDoors(true);
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
    this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
    this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
    this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
    this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, 1.0D, false));
    this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
    this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.tasks.addTask(7, new EntityAILookIdle(this));
    this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
}
项目:RuneCraftery    文件:EntityZombie.java   
public EntityZombie(World p_i1745_1_) {
   super(p_i1745_1_);
   this.func_70661_as().func_75498_b(true);
   this.field_70714_bg.func_75776_a(0, new EntityAISwimming(this));
   this.field_70714_bg.func_75776_a(1, new EntityAIBreakDoor(this));
   this.field_70714_bg.func_75776_a(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
   this.field_70714_bg.func_75776_a(3, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
   this.field_70714_bg.func_75776_a(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
   this.field_70714_bg.func_75776_a(5, new EntityAIMoveThroughVillage(this, 1.0D, false));
   this.field_70714_bg.func_75776_a(6, new EntityAIWander(this, 1.0D));
   this.field_70714_bg.func_75776_a(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
   this.field_70714_bg.func_75776_a(7, new EntityAILookIdle(this));
   this.field_70715_bh.func_75776_a(1, new EntityAIHurtByTarget(this, true));
   this.field_70715_bh.func_75776_a(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
   this.field_70715_bh.func_75776_a(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
}
项目:RuneCraftery    文件:EntityZombie.java   
public EntityZombie(World par1World)
{
    super(par1World);
    this.getNavigator().setBreakDoors(true);
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
    this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
    this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
    this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
    this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, 1.0D, false));
    this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
    this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.tasks.addTask(7, new EntityAILookIdle(this));
    this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
}
项目:BetterNutritionMod    文件:EntityZombie.java   
public EntityZombie(World par1World)
{
    super(par1World);
    this.getNavigator().setBreakDoors(true);
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
    this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
    this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
    this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
    this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, 1.0D, false));
    this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
    this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.tasks.addTask(7, new EntityAILookIdle(this));
    this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
}
项目:WuppyMods    文件:EntitySlimeZombie.java   
public EntitySlimeZombie(World par1World)
{
    super(par1World);
    this.getNavigator().setBreakDoors(true);
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
    this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
    this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
    this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
    this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, 1.0D, false));
    this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
    this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.tasks.addTask(7, new EntityAILookIdle(this));
    this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
}
项目:WuppyMods    文件:EntityWerewolf.java   
public EntityWerewolf(World par1World)
{
    super(par1World);
    this.tasks.addTask(0, new EntityAISwimming(this));
       this.tasks.addTask(1, new EntityAIBreakDoor(this));
       this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
       this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityVampire.class, 1.0D, true));
       this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
       this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, 1.0D, false));
       this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
       this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
       this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityVampire.class, 8.0F));
       this.tasks.addTask(7, new EntityAILookIdle(this));
       this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
       this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
       this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVampire.class, 0, false));
}
项目:WuppyMods    文件:EntityVampire.java   
public EntityVampire(World par1World)
{
    super(par1World);
    this.getNavigator().setBreakDoors(true);
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
    this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
    this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
    this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
    this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, 1.0D, false));
    this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
    this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.tasks.addTask(7, new EntityAILookIdle(this));
    this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
}
项目:WuppyMods    文件:EntityUruk.java   
public EntityUruk(World par1World)
{
    super(par1World);
    this.getNavigator().setBreakDoors(true);

    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
    this.tasks.addTask(2, new EntityAIAttackFireOnCollide(this, EntityPlayer.class, 1.0D, false));
    this.tasks.addTask(3, new EntityAIAttackFireOnCollide(this, EntityVillager.class, 1.0D, true));
    this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
    this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, 1.0D, false));
    this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
    this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.tasks.addTask(7, new EntityAILookIdle(this));
    this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
}
项目:Veniocraft    文件:EntityCyborg.java   
/**
 * 
 * @param world
 */
public EntityCyborg(World world){
    super(world);
    this.texture="/mods/veniocraft/textures/models/CyborgTexture.png";
    this.moveSpeed=0.23F;
    this.getNavigator().setBreakDoors(true);
    this.getNavigator().setAvoidsWater(true);
    this.tasks.addTask(0,new EntityAISwimming(this));
    this.tasks.addTask(1,new EntityAIBreakDoor(this));
    this.tasks.addTask(2,new EntityAIAttackOnCollide(this,EntityPlayer.class,this.moveSpeed,false));
    this.tasks.addTask(3,new EntityAIAttackOnCollide(this,EntityVillager.class,this.moveSpeed,true));
    this.tasks.addTask(4,new EntityAIMoveTwardsRestriction(this,this.moveSpeed));
    this.tasks.addTask(5,new EntityAIMoveThroughVillage(this,this.moveSpeed,false));
    this.tasks.addTask(6,new EntityAIWander(this,this.moveSpeed));
    this.tasks.addTask(7,new EntityAIWatchClosest(this,EntityPlayer.class,8.0F));
    this.tasks.addTask(7,new EntityAILookIdle(this));
    this.targetTasks.addTask(1,new EntityAIHurtByTarget(this,true));
    this.targetTasks.addTask(2,new EntityAINearestAttackableTarget(this,EntityPlayer.class,16.0F,0,true));
    this.targetTasks.addTask(2,new EntityAINearestAttackableTarget(this,EntityVillager.class,16.0F,0,false));
    this.tasks.addTask(8,new EntityAITempt(this,0.3F,VenioItems.chip.itemID,false));
}
项目:Community-Mod-1    文件:EntityRobot.java   
public EntityRobot(World par1World) {
    super(par1World);
    this.texture = "/assets/communityMod/textures/mob/Robot.png";
    this.moveSpeed = 0.35F;
    this.getNavigator().setAvoidsWater(true);
    this.tasks.addTask(0, new EntityAIBreakDoor(this));
    this.tasks.addTask(1, new EntityAIAttackOnCollide(this, this.moveSpeed,
                                                         true));
    this.tasks.addTask(2, new EntityAIWatchClosest(this,
                                                      EntityPlayer.class, 6.0F));
    this.tasks
       .addTask(3, new EntityAIMoveTowardsTarget(this, 0.22F, 32.0F));
    this.tasks.addTask(4, new EntityAIWander(this, this.moveSpeed));
    this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this,
                                                                       EntityLiving.class, 0, true, false, IMob.mobSelector));
    this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
}
项目:Mythical-Gods-Mod    文件:EntitySquidBoss.java   
public EntitySquidBoss(World par1World) {
    super(par1World);
    texture = Reference.PATH_ENTITYS + "SquidColossus.png";
    moveSpeed = 0.27F;
    tasks.addTask(0, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIWander(this, moveSpeed));
    tasks.addTask(2, new EntityAIBreakDoor(this));
    tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, moveSpeed, false));
    tasks.addTask(4, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
    tasks.addTask(5, new EntityAIWander(this, moveSpeed));
    targetTasks.addTask(6, new EntityAIHurtByTarget(this, false));
    targetTasks.addTask(7, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.setEntityHealth(this.getMaxHealth());
    experienceValue = 450;
    isImmuneToFire = true;
    this.getNavigator().setCanSwim(true);
}
项目:Mythical-Gods-Mod    文件:EntityMinotaur.java   
public EntityMinotaur(World par1World) {
    super(par1World);
    texture = Reference.PATH_ENTITYS + "Minotaur.png";
    moveSpeed = 0.27F;
    tasks.addTask(0, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIWander(this, moveSpeed));
    tasks.addTask(2, new EntityAIBreakDoor(this));
    tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, moveSpeed, false));
    tasks.addTask(4, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
    tasks.addTask(5, new EntityAIWander(this, moveSpeed));
    targetTasks.addTask(6, new EntityAIHurtByTarget(this, false));
    targetTasks.addTask(7, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.setEntityHealth(this.getMaxHealth());
    experienceValue = 250;
    isImmuneToFire = true;
}
项目:Mythical-Gods-Mod    文件:EntityVulcan.java   
public EntityVulcan(World par1World) {
    super(par1World);
    texture = Reference.PATH_ENTITYS + "Vulcan.png";
    moveSpeed = 0.30F;
    tasks.addTask(0, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIWander(this, moveSpeed));
    tasks.addTask(2, new EntityAIBreakDoor(this));
    tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, moveSpeed, false));
    tasks.addTask(4, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
    tasks.addTask(5, new EntityAIWander(this, moveSpeed));
    targetTasks.addTask(6, new EntityAIHurtByTarget(this, false));
    targetTasks.addTask(7, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.setEntityHealth(this.getMaxHealth());
    experienceValue = 200;

    this.getNavigator().setCanSwim(true);
}
项目:Mythical-Gods-Mod    文件:EntityChickenBoss.java   
public EntityChickenBoss(World par1World) {
    super(par1World);
    texture = Reference.PATH_ENTITYS + "ChickenBoss.png";
    moveSpeed = 0.25F;
    tasks.addTask(0, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIWander(this, moveSpeed));
    tasks.addTask(2, new EntityAIBreakDoor(this));
    tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, moveSpeed, false));
    tasks.addTask(4, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
    tasks.addTask(5, new EntityAIWander(this, moveSpeed));
    targetTasks.addTask(6, new EntityAIHurtByTarget(this, false));
    targetTasks.addTask(7, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.setEntityHealth(this.getMaxHealth());
    experienceValue = 100;
    isImmuneToFire = false;
    this.getNavigator().setCanSwim(true);
}
项目:Mythical-Gods-Mod    文件:EntityFlyPig.java   
public EntityFlyPig(World par1World) {
    super(par1World);
    moveSpeed = 0.27F;
    texture = Reference.PATH_ENTITYS + "FlyPig.png";
    tasks.addTask(0, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIWander(this, moveSpeed));
    tasks.addTask(2, new EntityAIBreakDoor(this));
    tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, moveSpeed, false));
    tasks.addTask(4, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
    tasks.addTask(5, new EntityAIWander(this, moveSpeed));
    targetTasks.addTask(6, new EntityAIHurtByTarget(this, false));
    targetTasks.addTask(7, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.setEntityHealth(this.getMaxHealth());
    experienceValue = 5;
    isImmuneToFire = true;
    this.getNavigator().setCanSwim(true);
}
项目:Mythical-Gods-Mod    文件:EntityHeroBrine.java   
public EntityHeroBrine(World par1World) {
    super(par1World);
    texture = Reference.PATH_ENTITYS + "HeroBrine.png";
    moveSpeed = 0.27F;
    tasks.addTask(0, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIWander(this, moveSpeed));
    tasks.addTask(2, new EntityAIBreakDoor(this));
    tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, moveSpeed, false));
    tasks.addTask(4, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
    tasks.addTask(5, new EntityAIWander(this, moveSpeed));
    targetTasks.addTask(6, new EntityAIHurtByTarget(this, false));
    targetTasks.addTask(7, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.setEntityHealth(this.getMaxHealth());
    experienceValue = 500;
    isImmuneToFire = true;
    this.getNavigator().setCanSwim(true);
}
项目:Mythical-Gods-Mod    文件:EntityApollo.java   
public EntityApollo(World par1World) {
    super(par1World);
    texture = Reference.PATH_ENTITYS + "Apollo.png";
    moveSpeed = 0.30F;
    tasks.addTask(0, new EntityAISwimming(this));
    tasks.addTask(1, new EntityAIWander(this, moveSpeed));
    tasks.addTask(2, new EntityAIBreakDoor(this));
    tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, moveSpeed, false));
    tasks.addTask(4, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
    tasks.addTask(5, new EntityAIWander(this, moveSpeed));
    targetTasks.addTask(6, new EntityAIHurtByTarget(this, false));
    targetTasks.addTask(7, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.setEntityHealth(this.getMaxHealth());
    experienceValue = 200;
    isImmuneToFire = true;
    this.getNavigator().setCanSwim(true);
}
项目:WeaponsMod    文件:EntityRobot.java   
public EntityRobot(World par1World)
{
    super(par1World);
    this.moveSpeed = 0.23F;
    this.getNavigator().setBreakDoors(true);
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
    this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, this.moveSpeed, false));
    this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityVillager.class, this.moveSpeed, true));
    this.tasks.addTask(4, new EntityAIMoveTwardsRestriction(this, this.moveSpeed));
    this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, this.moveSpeed, false));
    this.tasks.addTask(6, new EntityAIWander(this, this.moveSpeed));
    this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.tasks.addTask(7, new EntityAILookIdle(this));
    this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
    this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16.0F, 0, true));
    this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 16.0F, 0, false));
    this.setSize(1.4F, 2F);
    inventory = new ItemStack[EnumRobot.InventorySize.getValue()];
}
项目:Soul-Forest    文件:EntityEnt.java   
public EntityEnt(World par1World){
super(par1World);
this.moveSpeed = SoulConfigCreatures.yetiMovement;
this.setCustomNameTag(this.getCommandSenderName());
this.getNavigator().setBreakDoors(true);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(1, new EntityAIBreakDoor(this));
this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, this.moveSpeed, false));
this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityVillager.class, this.moveSpeed, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, this.moveSpeed));
this.tasks.addTask(5, new EntityAIMoveThroughVillage(this, this.moveSpeed, false));
this.tasks.addTask(6, new EntityAIWander(this, this.moveSpeed));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.tasks.addTask(7, new EntityAILookIdle(this));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 16, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 16, false));
   }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityIgnitedFreddy.java   
public EntityIgnitedFreddy(World world) {
        super(world);
        this.setSize(0.9F, 2.8F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntityFredbearAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityAILookIdle(this));
        this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityFredbear.java   
public EntityFredbear(World world) {
        super(world);
        this.setSize(0.9F, 2.8F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityFredbearAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityFredbearAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityFredbearAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityFredbearAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntityFredbearAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityFredbearAILookIdle(this));
        this.targetTasks.addTask(1, new EntityFredbearAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityFredbearAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityWFreddy.java   
public EntityWFreddy(World world) {
    super(world);
    this.setSize(0.9F, 2.5F);
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
       this.tasks.addTask(2, new EntityWFreddyAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
       this.tasks.addTask(3, new EntityWFreddyAIMoveTowardsRestriction(this, 1.0D));
       this.tasks.addTask(4, new EntityWFreddyAIWander(this, 1.0D));
       this.tasks.addTask(5, new EntityWFreddyAIWatchClosest(this, EntityPlayer.class, 8.0F));
       this.tasks.addTask(6, new EntityWFreddyAILookIdle(this));
       this.targetTasks.addTask(1, new EntityWFreddyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
       this.targetTasks.addTask(2, new EntityWFreddyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

}
项目:FiveNightsAtFreddysUniverseMod    文件:EntityCandy.java   
public EntityCandy(World world) {
        super(world);
        this.setSize(0.9F, 2.0F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityCandyAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityCandyAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityCandyAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityCandyAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntityCandyAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityCandyAILookIdle(this));
        this.targetTasks.addTask(1, new EntityCandyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityPre_Mangle.java   
public EntityPre_Mangle(World world) {
        super(world);
        this.setSize(0.9F, 2.0F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityPre_MangleAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityPre_MangleAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityPre_MangleAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityPre_MangleAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntityPre_MangleAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityPre_MangleAILookIdle(this));
        this.targetTasks.addTask(1, new EntityPre_MangleAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityGoldenFreddy.java   
public EntityGoldenFreddy(World world) {
        super(world);
        this.setSize(0.9F, 1.9F);

    this.tasks.addTask(1, new EntityAIBreakDoor(this));
    this.tasks.addTask(2, new EntityGoldenFreddyAIStare(this, EntityPlayer.class, 32.0F));
    this.tasks.addTask(5, new EntityGoldenFreddyAIMoveTowardsRestriction(this, 1.0D));
       this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
       this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true));
       this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
       this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
       this.targetTasks.addTask(4, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));

}
项目:FiveNightsAtFreddysUniverseMod    文件:EntityFoxy.java   
public EntityFoxy(World world) {
    super(world);
    this.setSize(0.9F, 2.5F);

    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
       this.tasks.addTask(2, new EntityFoxyAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
       this.tasks.addTask(5, new EntityFoxyAIMoveTowardsRestriction(this, 1.0D));
       this.tasks.addTask(7, new EntityFoxyAIWander(this, 1.0D));
       this.tasks.addTask(8, new EntityFoxyAIWatchClosest(this, EntityPlayer.class, 8.0F));
       this.tasks.addTask(10, new EntityFoxyAILookIdle(this));
       this.targetTasks.addTask(1, new EntityFoxyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
       this.targetTasks.addTask(2, new EntityFoxyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

}
项目:FiveNightsAtFreddysUniverseMod    文件:EntityNMRat.java   
public EntityNMRat(World world) {
        super(world);
        this.setSize(0.9F, 2.5F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntityFredbearAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityAILookIdle(this));
        this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntitySpringbonnie.java   
public EntitySpringbonnie(World world) {
        super(world);
        this.setSize(0.9F, 2.8F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntitySpringbonnieAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntitySpringbonnieAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntitySpringbonnieAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntitySpringbonnieAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntitySpringbonnieAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntitySpringbonnieAILookIdle(this));
        this.targetTasks.addTask(1, new EntitySpringbonnieAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntitySpringbonnieAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityNightMarionne.java   
public EntityNightMarionne(World world) {
        super(world);
        this.setSize(0.9F, 2.8F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntityFredbearAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityAILookIdle(this));
        this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityNMFredbear.java   
public EntityNMFredbear(World world) {
        super(world);
        this.setSize(0.9F, 2.8F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(9, new EntityFredbearAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(10, new EntityAILookIdle(this));
        this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
        this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntitySpringtrap.java   
public EntitySpringtrap(World world) {
        super(world);
        this.setSize(0.9F, 2.8F);
        this.tasks.addTask(0, new EntityAISwimming(this));
        this.tasks.addTask(1, new EntityAIBreakDoor(this));
        this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
        this.tasks.addTask(5, new EntitySpringtrapAIMoveTowardsRestriction(this, 1.0D));
        this.tasks.addTask(7, new EntitySpringtrapAIWander(this, 1.0D));
        this.tasks.addTask(8, new EntitySpringtrapAIWatchClosest(this, EntityPlayer.class, 8.0F));
//      this.tasks.addTask(8, new EntitySpringtrapAIStare(this, EntityPlayer.class, 3.0F));
        this.tasks.addTask(9, new EntitySpringtrapAILookIdle(this));
        this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

    }
项目:FiveNightsAtFreddysUniverseMod    文件:EntityFreddy.java   
public EntityFreddy(World world) {
    super(world);
    this.setSize(0.9F, 2.5F);

    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIBreakDoor(this));
       this.tasks.addTask(2, new EntityFreddyAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
       this.tasks.addTask(5, new EntityFreddyAIMoveTowardsRestriction(this, 1.0D));
       this.tasks.addTask(7, new EntityFreddyAIWander(this, 1.0D));
       this.tasks.addTask(8, new EntityFreddyAIWatchClosest(this, EntityPlayer.class, 8.0F));
       this.tasks.addTask(10, new EntityFreddyAILookIdle(this));
       this.targetTasks.addTask(1, new EntityFreddyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
       this.targetTasks.addTask(2, new EntityFreddyAINearestAttackableTarget(this, EntityPlayer.class, 0, true));

}
项目:Mini-Bosses    文件:EntityCrawler.java   
public EntityCrawler(World par1World) {
    super(par1World);
    this.tasks.addTask(0, new EntityAILookIdle(this));
    this.tasks.addTask(1, new EntityAISwimming(this));
    this.tasks.addTask(2, new EntityAIWander(this, 1.0D));
    this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, false));
    this.tasks.addTask(4, new EntityAIBreakDoor(this));
    this.tasks.addTask(5, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
    this.targetTasks.addTask(0, new EntityAINearestAttackableTarget(this, EntityPlayer.class, true));
}