Package net.minecraft.src

Examples of net.minecraft.src.EntityXPOrb


    if (deathCount > 150
        && deathCount % 5 == 0)
      for (int i = 30; i > 0;) {
        int k = EntityXPOrb.getXPSplit(i);
        i -= k;
        worldObj.spawnEntityInWorld(new EntityXPOrb(worldObj, posX,
            posY, posZ, k));
      }
    moveEntity(0.0D, -0.3D, 0.0D);
    renderYawOffset = rotationYaw += 20F;
    if (deathCount == 200) {
      for (int j = 30; j > 0;) {
        int l = EntityXPOrb.getXPSplit(j);
        j -= l;
        worldObj.spawnEntityInWorld(new EntityXPOrb(worldObj, posX,
            posY, posZ, l));
      }
      // if(rand.nextInt(10) < 2) {
      // int x = rand.nextInt(ItemShout.shoutNames.length);
      // worldObj.spawnEntityInWorld(new EntityItem(worldObj, posX, posY,
View Full Code Here

TOP

Related Classes of net.minecraft.src.EntityXPOrb

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.