Examples of RecipeInputItemStack


Examples of ic2.api.recipe.RecipeInputItemStack

    NBTTagCompound tag = new NBTTagCompound();

    tag.setInteger("amplification", 50000);

    Recipes.matterAmplifier.addRecipe(new RecipeInputItemStack(new ItemStack(Mekanism.EnrichedAlloy), 1), tag);
  }
View Full Code Here

Examples of ic2.api.recipe.RecipeInputItemStack

    ChipsetManager.circuitRegistry.registerLegacyMapping(CircuitId.ELECTRIC_BOOST_I, "forestry.energyBoost1");
    ChipsetManager.circuitRegistry.registerLegacyMapping(CircuitId.ELECTRIC_BOOST_II, "forestry.energyBoost2");

    // Remove some items from the recycler
    if (PluginManager.Module.APICULTURE.isEnabled()) {
      Recipes.recyclerBlacklist.add(new RecipeInputItemStack(ForestryItem.beeQueenGE.getItemStack()));
      Recipes.recyclerBlacklist.add(new RecipeInputItemStack(ForestryItem.beePrincessGE.getItemStack()));
    }
  }
View Full Code Here

Examples of ic2.api.recipe.RecipeInputItemStack

  }

  @Override
  public void maceratorRecipe(ItemStack in, ItemStack out)
  {
    ic2.api.recipe.Recipes.macerator.addRecipe( new RecipeInputItemStack( in, in.stackSize ), null, out );
  }
View Full Code Here

Examples of ic2.api.recipe.RecipeInputItemStack

        return false;
    }

    public static void addMaceratorRecipe(ItemStack input, ItemStack output) {
        try {
            Recipes.macerator.addRecipe(new RecipeInputItemStack(input), null, output);
        } catch (Throwable error) {
            Game.logErrorAPI("IC2", error, Recipes.class);
        }
    }
View Full Code Here

Examples of net.mcft.copy.betterstorage.api.crafting.RecipeInputItemStack

      // If none of the enchantments on the book can
      // be applied on the item, the recipe is invalid.
      if (!canApply) return null;
     
      output[i] = outputStack;
      requiredInput[i] = new RecipeInputItemStack(StackUtils.copyStack(stack, 1), true);
    }
   
    requiredInput[bookIndex] = new RecipeInputItemStack(StackUtils.copyStack(book, 0, false));
   
    return new StationCrafting(output, requiredInput, experienceCost);
   
  }
View Full Code Here

Examples of net.mcft.copy.betterstorage.api.crafting.RecipeInputItemStack

        outputStack.setItemDamage(0);
       
        ItemStack requiredStack = outputStack.copy();
        requiredStack.setItemDamage(OreDictionary.WILDCARD_VALUE);
        requiredStack.setTagCompound(null);
        requiredInput[i] = new RecipeInputItemStack(requiredStack);
       
      } else requiredInput[i] = ((numSheetsNeeded-- > 0) ? sheetUsed : sheetUnused);
     
      output[i] = outputStack;
    }
View Full Code Here

Examples of net.mcft.copy.betterstorage.api.crafting.RecipeInputItemStack

 
  @Override
  @SideOnly(Side.CLIENT)
  public List<IRecipeInput> getPossibleInputs() {
    return Arrays.<IRecipeInput>asList(RecipeInputCardboard.instance,
        new RecipeInputItemStack(new ItemStack(BetterStorageItems.cardboardSheet)));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.