This page relates to Immersive Engineering, which has built-in support!
Immersive Engineering Blueprint
Link to immersive-engineering-blueprint
The Blueprint is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe()
and removeAll()
.
Categories
Link to categories
Blueprints use different categories to determine what type of Blueprint is needed, you can use:
Copy/ct dump ieBlueprintCategories
to print all the known categories to the CraftTweaker log file.
With Immersive Engineering alone, the following is printed to the log:
Copy- bannerpatterns
- bullet
- components
- electrode
- molds
- specialBullet
Methods
Link to methods
Add Recipe
Link to add-recipe
The following script will add a "bullet" Blueprint recipe that will use a piece of Redstone and any item from the Forge Gems tag and output an Iron Sword.
ZenScript Copy// <recipetype:immersiveengineering:blueprint>.addRecipe(name as string, blueprintCategory as string, inputs as IIngredient[], output as IItemStack)
<recipetype:immersiveengineering:blueprint>.addRecipe("test_gaps", "bullet", [<item:minecraft:redstone>, <tag:items:forge:gems>], <item:minecraft:iron_sword>);
Remove Recipes
Link to remove-recipes
The following script will remove all Blueprint recipes that output a Casull Cartridge.
ZenScript Copy// <recipetype:immersiveengineering:blueprint>.removeRecipe(IItemStack output)
<recipetype:immersiveengineering:blueprint>.removeRecipe(<item:immersiveengineering:casull>);