Package logisticspipes.utils

Examples of logisticspipes.utils.CraftingRequirement


  private PlayerIdentifier placedBy = null;
 
  public LogisticsCraftingTableTileEntity() {
    matrix.addListener(this);
    for(int i = 0; i < 9; i++)
      fuzzyFlags[i] = new CraftingRequirement();
  }
View Full Code Here


   
    if(fuzzyPanelSelection != -1) {
      int posX = -60;
      int posY = 0;
      BasicGuiHelper.drawGuiBackGround(mc, posX, posY, posX + 60, posY + 52, zLevel, true, true, true, true, true);
      CraftingRequirement flag = _crafter.fuzzyFlags[fuzzyPanelSelection];
      final String PREFIX = "gui.crafting.";
      mc.fontRenderer.drawString(StringUtil.translate(PREFIX + "OreDict"), posX + 4, posY + 4, (!flag.use_od ? 0x404040 : 0xFF4040));
      mc.fontRenderer.drawString(StringUtil.translate(PREFIX + "IgnDamage"), posX + 4, posY + 14, (!flag.ignore_dmg ? 0x404040 : 0x40FF40));
      mc.fontRenderer.drawString(StringUtil.translate(PREFIX + "IgnNBT"), posX + 4, posY + 26, (!flag.ignore_nbt ? 0x404040 : 0x4040FF));
      mc.fontRenderer.drawString(StringUtil.translate(PREFIX + "OrePrefix"), posX + 4, posY + 38, (!flag.use_category ? 0x404040 : 0x7F7F40));
View Full Code Here

    //Check all materials
    for (int i = 0; i < 9; i++){
      ItemIdentifierStack resourceStack = getMaterials(i);
      if (resourceStack == null || resourceStack.getStackSize() == 0) continue;
      CraftingRequirement req = new CraftingRequirement();
      req.stack = resourceStack;
      if(getUpgradeManager().isFuzzyCrafter())
      {
        if((fuzzyCraftingFlagArray[i] & 0x1) != 0)
          req.use_od = true;
View Full Code Here

TOP

Related Classes of logisticspipes.utils.CraftingRequirement

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.