Package vazkii.botania.common.entity

Examples of vazkii.botania.common.entity.EntityThrownItem


            ((EntityItem)item).delayBeforeCanPickup = 20;
            item.motionX = moveVector.x * 1.5F;
            item.motionY = moveVector.y * 1.0F;
            item.motionZ = moveVector.z * 1.5F;
            if(!player.worldObj.isRemote) {
              EntityThrownItem thrown = new EntityThrownItem(item.worldObj, item.posX, item.posY, item.posZ, (EntityItem) item);
              item.worldObj.spawnEntityInWorld(thrown);
            }
            item.setDead();
          } else {
            item.motionX = moveVector.x * 3.0F;
 
View Full Code Here

TOP

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

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.