Package net.minecraft.entity.monster

Examples of net.minecraft.entity.monster.EntityZombie


      {
        e = new EntityPigZombie(world);
      }
      else
      {
        e = new EntityZombie(world);
      }
      e.setLocationAndAngles(entity.posX, entity.posY, entity.posZ, entity.rotationYaw, entity.rotationPitch);
      world.spawnEntityInWorld(e);
      entity.setDead();
    }
View Full Code Here


          if(reverseTicks > MOB_SPAWN_START_TICKS * 2 && mobTicks > MOB_SPAWN_END_TICKS && mobTicks % MOB_SPAWN_WAVE_TIME == 0 && !worldObj.isRemote) {
            for(int i = 0; i < 3 + worldObj.rand.nextInt(2); i++) {
              EntityLiving entity = null;
              switch(worldObj.rand.nextInt(2)) {
              case 0 : {
                entity = new EntityZombie(worldObj);
                if(worldObj.rand.nextInt(12) == 0)
                  entity = new EntityWitch(worldObj);
               
                break;
              }
View Full Code Here

TOP

Related Classes of net.minecraft.entity.monster.EntityZombie

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.