Package logisticspipes.interfaces

Examples of logisticspipes.interfaces.ICraftingResultHandler


          new ItemStack(Items.ender_pearl,1),
          new ItemStack(LogisticsPipes.ModuleItem,1,0),
          null,
          null,
          null },
        new ItemStack(LogisticsPipes.LogisticsItemCard,2,0), new ICraftingResultHandler() {
      @Override
      public void handleCrafting(ItemStack stack) {
        stack.stackTagCompound = new NBTTagCompound();
        stack.stackTagCompound.setString("UUID", UUID.randomUUID().toString());
      }
View Full Code Here


    }
  }

  private boolean tryCraft() {
    ItemIdentifierStack content = inv.getIDStackInSlot(10);
    ICraftingResultHandler handler = getHandlerForRecipe();
    ItemStack toAdd = getTagetForRecipe(false);
    if(handler != null) {
      handler.handleCrafting(toAdd);
    }
    if(content != null) {
      if(!content.getItem().equals(toAdd)) {
        return false;
      }
View Full Code Here

TOP

Related Classes of logisticspipes.interfaces.ICraftingResultHandler

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.