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));
targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));