Package net.minecraft.entity.item

Examples of net.minecraft.entity.item.EntityMinecartChest


        pullItemIntoPipe(entity, distance);
        return true;
      }

      if (distance == 1 && entity instanceof EntityMinecartChest) {
        EntityMinecartChest cart = (EntityMinecartChest) entity;
        if (!cart.isDead) {
          ITransactor trans = Transactor.getTransactorFor(cart);
          ForgeDirection openOrientation = getOpenOrientation();
          ItemStack stack = trans.remove(StackFilter.ALL, openOrientation, false);
View Full Code Here


            // else if(itemID == Item.fireballCharge) return new
            // EntitySmallFireball(worldObj);
            else if(item == Items.snowball) return new EntitySnowball(worldObj);
            else if(item == Items.spawn_egg) return ItemMonsterPlacer.spawnCreature(worldObj, inventory[0].getItemDamage(), 0, 0, 0);
            else if(item == Items.minecart) return new EntityMinecartEmpty(worldObj);
            else if(item == Items.chest_minecart) return new EntityMinecartChest(worldObj);
            else if(item == Items.furnace_minecart) return new EntityMinecartFurnace(worldObj);
            else if(item == Items.hopper_minecart) return new EntityMinecartHopper(worldObj);
            else if(item == Items.tnt_minecart) return new EntityMinecartTNT(worldObj);
            else if(item == Items.boat) return new EntityBoat(worldObj);
View Full Code Here

TOP

Related Classes of net.minecraft.entity.item.EntityMinecartChest

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.