Package forestry.factory.gui

Examples of forestry.factory.gui.ContainerCarpenter


    case BottlerGUI:
      return new ContainerBottler(player.inventory, (MachineBottler) getTileForestry(world, x, y, z));

    case CarpenterGUI:
      return new ContainerCarpenter(player.inventory, (MachineCarpenter) getTileForestry(world, x, y, z));

    case CentrifugeGUI:
      return new ContainerCentrifuge(player.inventory, (MachineCentrifuge) getTileForestry(world, x, y, z));

    case FabricatorGUI:
View Full Code Here


      NBTTagCompound nbttagcompoundP = nbttagcompound.getCompoundTag("CurrentProduct");
      currentProduct = ItemStack.loadItemStackFromNBT(nbttagcompoundP);
    }

    // Reset recipe according to contents
    ContainerCarpenter container = new ContainerCarpenter(this);
    setCurrentRecipe(RecipeManager.findMatchingRecipe(resourceTank.getFluid(), getBoxStack(), container.craftMatrix, worldObj));
  }
View Full Code Here

    if (worldObj.getTotalWorldTime() % 40 * 10 != 0)
      return;

    if (currentRecipe == null) {
      ContainerCarpenter container = new ContainerCarpenter(this);
      setCurrentRecipe(MachineCarpenter.RecipeManager.findMatchingRecipe(resourceTank.getFluid(), getBoxStack(), container.craftMatrix, worldObj));
    }

    if (currentRecipe == null)
      setErrorState(EnumErrorCode.NORECIPE);
View Full Code Here

TOP

Related Classes of forestry.factory.gui.ContainerCarpenter

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.