Package me.ashtheking.dragons.mob

Examples of me.ashtheking.dragons.mob.Necromancer


      int x = world.rand.nextInt(2);
      EntityMob en = x == 0 ? new EntitySkeleton(world) : new EntityZombie(world);
      en.setLocationAndAngles(posX, posY, posZ, 0.0F, 0.0F);
      world.spawnEntityInWorld(en);
      en.setAttackTarget((EntityLiving) target);
      Necromancer necro = new Necromancer(world);
      necro.setLocationAndAngles(posX, posY, posZ, 0, 0);
      world.spawnEntityInWorld(necro);
      new Thread(new BlockTarget(owner, en)).start();
      new Thread(new Watcher(en, (int) Math.min(playerLevel.get(owner), 60))).start();
    }
View Full Code Here

TOP

Related Classes of me.ashtheking.dragons.mob.Necromancer

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.