Package net.minecraft.src

Examples of net.minecraft.src.World.spawnEntityInWorld()


    EntityItem entityitem = new EntityItem(world, xCoord + f, yCoord + f1 + 0.5F, zCoord + f2, stack);
    float f3 = 0.05F;
    entityitem.motionX = (float) world.rand.nextGaussian() * f3;
    entityitem.motionY = (float) world.rand.nextGaussian() * f3 + 0.2F;
    entityitem.motionZ = (float) world.rand.nextGaussian() * f3;
    world.spawnEntityInWorld(entityitem);
  }

 
  @Override
  public int powerRequest() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.