Package net.minecraft.tileentity

Examples of net.minecraft.tileentity.TileEntityFurnace


            int z = supertile.zCoord + k;

            TileEntity tile = supertile.getWorldObj().getTileEntity(x, y, z);
            if(tile != null) {
              if(tile instanceof TileEntityFurnace) {
                TileEntityFurnace furnace = (TileEntityFurnace) tile;
                boolean canSmelt = canFurnaceSmelt(furnace);
                if(canSmelt && mana > 2) {
                  if(furnace.furnaceBurnTime < 2) {
                    if(furnace.furnaceBurnTime == 0)
                      BlockFurnace.updateFurnaceBlockState(true, supertile.getWorldObj(), x, y, z);
View Full Code Here


      }

      Block nearbyBlock = robot.worldObj.getBlock(index.x, index.y, index.z);

      if (nearbyBlock instanceof BlockFurnace) {
        TileEntityFurnace f = (TileEntityFurnace) robot.worldObj.getTileEntity(index.x, index.y, index.z);

        if (f.getStackInSlot(INPUT_SLOT) != null
            && !StackHelper.isMatchingItem(input, f.getStackInSlot(INPUT_SLOT))) {

          continue;
        }

        return f;
View Full Code Here

TOP

Related Classes of net.minecraft.tileentity.TileEntityFurnace

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.