Package powercrystals.minefactoryreloaded.entity

Examples of powercrystals.minefactoryreloaded.entity.EntityNeedle


      ItemStack ammo = new ItemStack(0, 0, 0);
      ammo.readFromNBT(stack.getTagCompound().getCompoundTag("ammo"));
     
      if(!player.worldObj.isRemote)
      {
        EntityNeedle needle = new EntityNeedle(world, player, ammo, 1.0F);
        world.spawnEntityInWorld(needle);
        world.playSoundAtEntity(player, "random.bow", 1.0F, 1.0F / (itemRand.nextFloat() * 0.4F + 1.2F) + 2.0F);
      }

      NBTTagCompound t = new NBTTagCompound();
View Full Code Here

TOP

Related Classes of powercrystals.minefactoryreloaded.entity.EntityNeedle

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.