Metal Press
The Metal Press package can be used to add/remove recipes to/from the Immersive Engineering Metal Press.
Calling The Package
You can call the MetalPress package using mods.immersiveengineering.MetalPress
.
Add Recipe
Required | Type | Data Type |
---|---|---|
Required Required | Type Output | Data Type IItemstack |
Required Required | Type Input | Data Type IIngredient |
Required Required | Type Mold | Data Type IItemstack |
Required Required | Type Energy | Data Type Integer |
Required Required | Type Input Size | Data Type Integer |
Example
//Example:mods.immersiveengineering.MetalPress.addRecipe(IItemStack output, IIngredient input, IItemStack mold, int energy, @Optional int inputSize);
mods.immersiveengineering.MetalPress.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:emerald>, 2000);mods.immersiveengineering.MetalPress.addRecipe(<minecraft:diamond>, <ore:logWood>, <minecraft:emerald>, 2000, 16);
Remove Recipe
Type | Data Type |
---|---|
Type Output | Data Type IItemstack |
Example
//Example:mods.immersiveengineering.MetalPress.removeRecipe(IItemstack output);
mods.immersiveengineering.MetalPress.removeRecipe(<minecraft:diamond>);
Remove By Mold
Type | Data Type |
---|---|
Type Output | Data Type IItemstack |
Example
//Example:mods.immersiveengineering.MetalPress.removeRecipeByMold(IItemstack output);
mods.immersiveengineering.MetalPress.removeRecipeByMold(<minecraft:diamond>);