Package net.minecraft.src

Examples of net.minecraft.src.EntitySkeleton


    }

    public static void summonNecro(World world, double posX, double posY, double posZ,
        EntityLiving owner, Entity target) {
      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);
View Full Code Here

TOP

Related Classes of net.minecraft.src.EntitySkeleton

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.