Blueprint
Link to blueprint
The Blueprint crafting package can be used to add/remove recipes to/from the Immersive Engineering Blueprint crafting.
PSA
Link to psa
The Category String is quite special. For any string entered that doesn't already have an established Category, it'll create a new Category and thus a new Blueprint. This means that you could add a Blueprint Category called "Banana Pancakes" that provides "Food Recipes". After the first entry found it'll generate all additional recipes for that Category String under the generated Category.
Calling The Package
Link to calling-the-package
You can call the Blueprint package using mods.immersiveengineering.Blueprint
.
添加配方
Link to 添加配方
Required | 类型 | 数据类型 |
---|---|---|
Required Required | 类型 Category | 数据类型 String Category |
Required Required | 类型 输出 | 数据类型 物品堆(IItemstack) |
Required Required | 类型 输入 | 数据类型 材料(IIngredient) |
ZenScript Copy//Example:
mods.immersiveengineering.Blueprint.addRecipe(String category, IItemStack output, IIngredient[] inputs);
//Using an existing Category String
mods.immersiveengineering.Blueprint.addRecipe("components", <minecraft:diamond>, [<ore:logWood>, <minecraft:dirt>]);
//Using a new Category String (This generates a new Blueprint item)
mods.immersiveengineering.Blueprint.addRecipe("Banana Pancakes", <minecraft:diamond>, [<ore:logWood>, <minecraft:dirt>]);
Remove Recipe
Link to remove-recipe
类型 | 数据类型 |
---|---|
类型 输出 | 数据类型 物品堆(IItemstack) |
示例:
Link to 示例
ZenScript Copy//Example:
mods.immersiveengineering.Blueprint.removeRecipe(IItemStack output);
mods.immersiveengineering.Blueprint.removeRecipe(<minecraft:diamond>);