Package vazkii.botania.common.entity

Examples of vazkii.botania.common.entity.EntityVineBall


      if(!par3EntityPlayer.capabilities.isCreativeMode)
        par3EntityPlayer.inventory.consumeInventoryItem(ModItems.vineBall);

      if(!par2World.isRemote) {
        EntityVineBall ball = new EntityVineBall(par3EntityPlayer, false);
        ball.motionX *= 1.6;
        ball.motionY *= 1.6;
        ball.motionZ *= 1.6;
        par2World.spawnEntityInWorld(ball);
      }
View Full Code Here


      --par1ItemStack.stackSize;

    par2World.playSoundAtEntity(par3EntityPlayer, "random.bow", 0.5F, 0.4F / (par2World.rand.nextFloat() * 0.4F + 0.8F));

    if(!par2World.isRemote)
      par2World.spawnEntityInWorld(new EntityVineBall(par3EntityPlayer, true));

    return par1ItemStack;
  }
View Full Code Here

TOP

Related Classes of vazkii.botania.common.entity.EntityVineBall

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.