Metal Press
Link to metal-press
The Metal Press package can be used to add/remove recipes to/from the Immersive Engineering Metal Press.
Hinzufügen des Packages
Link to hinzufügen-des-packages
You can call the MetalPress package using mods.immersiveengineering.MetalPress
.
Rezept hinzufügen
Link to rezept-hinzufügen
Required | Type | Datentyp |
---|---|---|
Required Required | Type Output | Datentyp IItemstack |
Required Required | Type Input | Datentyp IIngredient |
Required Required | Type Mold | Datentyp IItemstack |
Required Required | Type Energy | Datentyp Integer |
Required Required | Type Input Size | Datentyp Integer |
Beispiel
Link to beispiel
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);
Rezept entfernen
Link to rezept-entfernen
Type | Datentyp |
---|---|
Type Output | Datentyp IItemstack |
Beispiel
Link to beispiel-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 | Datentyp |
---|---|
Type Output | Datentyp IItemstack |
Beispiel
Link to beispiel-2
ZenScript Copy//Example:
mods.immersiveengineering.MetalPress.removeRecipeByMold(IItemstack output);
mods.immersiveengineering.MetalPress.removeRecipeByMold(<minecraft:diamond>);