Arc Furnace
Link to arc-furnace
The Arc Furnace package can be used to add/remove recipes to/from the Immersive Engineering Arc Furnace.
Calling The Package
Link to calling-the-package
You can call the ArcFurnace package using mods.immersiveengineering.ArcFurnace
.
添加配方
Link to 添加配方
Required | 类型 | 数据类型 |
---|---|---|
Required Required | 类型 输出 | 数据类型 IItemstack |
Required Required | 类型 输入 | 数据类型 材料(IIngredient) |
Required Required | 类型 Slag | 数据类型 IItemstack |
Required Required | 类型 Time | 数据类型 整型 |
Required Required | 类型 Energy Per Tick | 数据类型 整型 |
Required 可选 | 类型 Additives | 数据类型 IIngredient Array[] |
Required 可选 | 类型 Special Recipe Type | 数据类型 String specialRecipeTypes |
ZenScript Copy//Example:
mods.immersiveengineering.ArcFurnace.addRecipe(IItemStack output, IIngredient input, IItemStack slag, int time, int energyPerTick, @Optional IIngredient[] additives, @Optional String specialRecipeType);
mods.immersiveengineering.ArcFurnace.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:dirt>, 2000, 2048);
mods.immersiveengineering.ArcFurnace.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:dirt>, 2000, 2048, [<ore:oreIron>, <ore:oreGold>]);
mods.immersiveengineering.ArcFurnace.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:dirt>, 2000, 2048, [<ore:oreIron>, <ore:oreGold>], "Ores");
mods.immersiveengineering.ArcFurnace.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:dirt>, 2000, 2048, [<ore:oreIron>, <ore:oreGold>], "Alloying");
Remove Recipe
Link to remove-recipe
类型 | 数据类型 |
---|---|
类型 输出 | 数据类型 物品堆(IItemstack) |
ZenScript Copy//Example:
mods.immersiveengineering.ArcFurnace.removeRecipe(IItemstack output);
mods.immersiveengineering.ArcFurnace.removeRecipe(<minecraft:diamond>);