Metal Press
Link to metal-press
The Metal Press package can be used to add/remove recipes to/from the Immersive Engineering Metal Press.
Calling The Package
Link to calling-the-package
You can call the MetalPress package using mods.immersiveengineering.MetalPress
.
Add Recipe
Link to 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 |
Ejemplo
Link to ejemplo
ZenScript Copy//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
Link to remove-recipe
Type | Data Type |
---|---|
Type Output | Data Type IItemstack |
Ejemplo
Link to ejemplo-1
ZenScript Copy//Example:
mods.immersiveengineering.MetalPress.removeRecipe(IItemstack output);
mods.immersiveengineering.MetalPress.removeRecipe(<minecraft:diamond>);
Remove By Mold
Link to remove-by-mold
Type | Data Type |
---|---|
Type Output | Data Type IItemstack |
Ejemplo
Link to ejemplo-2
ZenScript Copy//Example:
mods.immersiveengineering.MetalPress.removeRecipeByMold(IItemstack output);
mods.immersiveengineering.MetalPress.removeRecipeByMold(<minecraft:diamond>);