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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
/** * * @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)); }
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)); }
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); }
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; }
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); }
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); }
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); }
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); }
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); }
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()]; }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }